0 Replies Latest reply on Oct 6, 2010 6:00 AM by Jagan Rao

    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 Newbie

      Hello All,


      I am facing a problem with JBoss Messaging,



      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:


      2010-10-06 11:47:16,812
      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,