-
1. Re: Client reconnection
oichris Nov 11, 2008 1:42 AM (in response to oichris)When the SonicMQ server is done/connection is dropped <--- I mean when the SonicMQ server is DOWN (not done)
-
2. Re: Client reconnection
kconner Nov 13, 2008 5:33 AM (in response to oichris)From a cursory look at that class I can see a couple of issues.
You are correct in that the class does not attempt to re-establish a producer for the destination, something it should be doing. The error with the connection would have been detected in the pooling code and any associated producer/session/connection would all have been closed.
The other issue appears to be that it is sharing a session/producer across multiple threads and this is not safe. JMS Sessions are intended to be single threaded objects, as are the producers they create.
I'll create some issues to cover these and get them fixed as soon as possible.
Apologies for this.
Kev -
3. Re: Client reconnection
oichris Nov 17, 2008 2:36 AM (in response to oichris)"Kevin.Conner@jboss.com" wrote:
From a cursory look at that class I can see a couple of issues.
You are correct in that the class does not attempt to re-establish a producer for the destination, something it should be doing. The error with the connection would have been detected in the pooling code and any associated producer/session/connection would all have been closed.
The other issue appears to be that it is sharing a session/producer across multiple threads and this is not safe. JMS Sessions are intended to be single threaded objects, as are the producers they create.
I'll create some issues to cover these and get them fixed as soon as possible.
Apologies for this.
Kev
Dear Kev,
I am so glad that finally there is some people from jboss proving that it is not my fault in configuring the jboss appropriately.
Really look forward to any updated information on this issue.
Thanks a lot.