[jboss-user] [JBoss Messaging] - JBoss Messaging consumer connetion unable to receive any exception while JBoss server is able to Receives Event on ConnectionListener and handle connection (subscriptions) cleanup and other stuff.

Jagan Rao do-not-reply at jboss.com
Wed Oct 6 06:00:35 EDT 2010


Jagan Rao [http://community.jboss.org/people/NJaganMohanRao] created the discussion

"JBoss Messaging consumer connetion unable to receive any exception while JBoss server is able to Receives Event on ConnectionListener and handle connection (subscriptions) cleanup and other stuff."

To view the discussion, visit: http://community.jboss.org/message/565075#565075

--------------------------------------------------------------
Hello All,

I am facing a problem with JBoss Messaging,

Environment:
JBoss Server Version: Jboss 4.2.3 GA
JMS Messaging Version: 1.4.2.GA-SP1
Our JMS Messaging remote clients need to receive Messages 24X7, so this process or client need to be reliable in receiving messages.

Problem Area:
At production Environment After few hours clients stop receiving Messages automatically, at the server side we receive warning as below:

Level
WARN
Logger
org.jboss.jms.server.connectionmanager.SimpleConnectionManager
Time
2010-10-06 11:47:16,812
Thread
Timer-18
Message
A problem has been detected with the connection to remote client 464e206d-19g03s-gexoqzvj-1-gexor8fa-2f, jmsClientID=null. It is possible the client has exited without closing its connection(s) or the network has failed. All associated connection resources will be cleaned up.

So we started digging into the problem and we found that underlying connection (socket) terminated and JBoss server recived an Event on her ConnectionListener and hadled all necessary stuff on server like removing all subscriptions corresponding to this client and logged above WARN but surprizingly didn't rasied any JMSException or Exception so that clents can heal or act accordingly.
After this situation JMS Client don't receive any messages because underlying connection lost somehow and JMSClient couldn't able to identify its connection loss because no exception from server.

and we are unable to find any root cause for the connection loss but we found a simple way to reproduce the cinario, and the reproduciton scheme was simply change the timestamp or time of the machine to 1hour back where JMS Remote Client is running.

If anyone knows the root cause or solution to the problem please let me know - I need solution immediatly.
Is there any way from the JBoss remoting side to identify connection loses and so that JMS remote client can listen on any listener so that JMS remote client can heal her self.

Thanks in Advance,
Jagan.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/565075#565075]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101006/5e65b470/attachment-0001.html 


More information about the jboss-user mailing list