-
1. Re: Connection failed
delboypass Jun 13, 2003 6:02 AM (in response to delboypass)ANY HELP??
We are using the jboss 3.0.4 so we are facing the problem that when we lose a connection there is no way of stopping the ping error - lost connection.
If there is a way of stopping the Ping error on JBoss 3.0.4 can somebody please tell me or a way of catching it without using an Mbean.
Can somebody also tell me how to stop timeouts once a message producer and a message receiver has been setup. Some time one machine is losing the connection. -
2. Re: Connection failed
stephanenicoll Jun 13, 2003 9:52 AM (in response to delboypass)use an ExceptionListener to be notified when problmes occurs.
For the writer : open the session when neccessary (do not leave a JMS session open for hours if you don't use it)
For the receiver: if you got an exception catch it and in the finally block close / release your connection and try to create a new one