I'm trying to use a "better" HTTP connector than JBoss' default HTTP/1.1 connector. Following BalusC's recommendations, I changed the connector in server.xml to:
<Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
port="8080" address="${jboss.bind.address}"
connectionTimeout="20000"
...
Hi
How can I get the source code for Arjuna/JBossTM that matches my JBoss version?
More specifically, is there a way to reliably identify the version of a library that is distributed with JBoss 5.1.0?
The options I've tried so far:
opening the manifest file of jbossjts.jar which gives me 5.1.0
opening the file jar-versions.xml, but ...
I am working on JAX-WS webservice and sometimes on heavy load i am getting HttpSession "null". This is how I am getting the session:
MessageContext mc = wsContext.getMessageContext();
HttpSession session=((HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST)).getSession();
if(session==null) {
logger.warn("Session is null");
}
...
I have a JAX-WS web service and some times [during load] JBoss 5 gives a "null" when I do a get session.
Is there any "max session" parameter for Jboss?
Thanks| Abhi
...
Thanks for your replies!
...
I have a quite large object tree structure that I persist with Hibernate. This should have been persisted with the root-node first and then the children and so on. However this was not the way that Hibernate did it, it persisted the child first and than updated the reference column in the child when the parent had been persisted. This is...
Hello friends,
I am developing an application using SPRING 3.0.4, JPA 2, Hibernate 3.5.5.
I an trying an existing example given on link http://www.javacodegeeks.com/2010/05/jboss-42x-spring-3-jpa-hibernate.html.
only difference is that I am using latest versions of libraries and JBOSS server.
Following is list of my /WEB-INF/lib dire...
Hi all,
I`am using jboss-5.0.0.GA-jdk6.
Ive implemented a JMS que, and MDB which listens to it.(so far so good)
What im trying to achive is: after 3 attempts of errors, instead of sending the error msg to DLQ, i wanna send it to a new custom Error Que which I want to define, so I can handle the errors in that que the way I want.
any i...
Hi there,
I am trying to set up a JBoss Cluster with Apache Load Balancing. Basically I have followed the guide from here. No problem faced. The only issue I have would be, how do I access my own application? From the guide, it didnt mention how do I mount my own application.
Here's my environment setup:
Windows XP
JBoss AS 5.0
Apac...
Is there a way to make JBoss 5 startup fail if an application cannot be deployed?
...
I edited JBOSS_HOME/server/all/deploy/jbossweb.sar/context.xml to be the following, but session id cookie values are still only 24 characters in length:
<Context cookies="true" crossContext="true">
<Manager pathname="" sessionIdLength="40"/>
<InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceLis...
Hi, I'm trying to call a MBean deployed in JBoss, but i'm having this exception:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: org.jboss.security.auth.callback.SecurityAssociationHandler; org.jboss.security.auth.callback.SecurityAssociationHandler; class invalid for...
Hello everyone,
I have encountered a strange problem with spring transaction. My application uses Spring with EJBs. The EJBs also invoke Spring service classes annotated with @Transaction. I have used Spring JtaTransactionManager for transaction management. The application is packaged as an EAR file and is deployed on jboss5.0 and it w...
At a high level, what does JBoss 5's shutdown do? What might go wrong if I just kill the java process instead of gracefully shutting down JBoss?
A graceful JBoss 5 shutdown takes about 6 minutes for my application, which is pretty big and has 305 EJBs. JBoss seems to pause for a long time just before unbinding the EJB LocalHomes from ...
I am trying to access a read-only Embedded Derby database. It is available as myDB.jar. This jar has one folder of the Apache Derby database - myDB (log and seg0 folders and service.properties file). This code works fine when I run from a file with a main method. But, when I package it into EAR and deploy it on server it gives error...
Hi all,
I am trying to connect a client (which is behind the company's proxy) to a server (JBoss AS 5.0) which is hosting an application (JavaFX). And I am facing the following error.
exception: Connection refused: connect.
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Metho...
Hi,
In JBoss 5, there is the mbean
jboss.system:type=ServerInfo
Which has the properties ActiveThreadCount and ActiveThreadGroupCount.
Does anyone know if there are maximum values for either or both of these properties, and if there are, how to find them out? I am happy parsing configuration files if necessary.
Looking at the sourc...
Its been quite a while I'm stuck with this.I've wriiten my own login module XtrLdapLoginModule which implements the javax.security.auth.spi.LoginModule to authenticate users against three credentials viz. username, password and account. I couldn't use the LdapExtLoginModule cause it wouldn't help me authenticate against a particular acco...
I have an EJB3 project to be deployed on JBoss 5.1.0 GA. I have Stateless EJBs being injected into other Stateless beans and Servlets.
I'm using the @EJB annotation without any parameters to inject the EJB beans, (i have a test project just to simulate the injection, which works).
When i try deploying i get the error below.
"Caused ...
I am using richfaces 3.3.3 final and want to have a localized file-upload. Therefore i use something like this:
<rich:fileUpload id="myUpload"
...
addControlLabel="#{msgs.DO_ADD}"
clearAllControlLabel="#{msgs.DO_CLEAR_ALL}"
clearControlLabel="#{msgs.DO_CLEAR}"
stopEntryControlLabel="#{msgs.DO_CANCEL}"
uploadContr...