1 Reply Latest reply on Aug 21, 2013 11:23 AM by mnovak

    getting notification when JMS clients disconnects ?

    fillg1

      Hi folks

      We have an JEE application running von EAP 6 / Jboss 7. Our clients are communicating with the JBoss by JMS only.

       

      Is it possible to get a kind of server notification when a client is disconnecting or crashes ?

       

      In the JBoss server.log we see some information

       

      2013-08-21 14:33:45,490 ERROR [org.jboss.remoting.remote.connection] [] (Remoting "NodeHW0786" read-1) JBREM000200: Remote connection failed: java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen

       

      2013-08-21 14:33:45,525 INFO  [org.jboss.as.naming] [] (Remoting "NodeHW0786" task-4) JBAS011806: Channel-Endbenachrichtigung erhalten, schließe Channel Channel ID 61a98314 (inbound) of Remoting connection 200da416 to null

       

      2013-08-21 14:35:25,360 WARN  [org.hornetq.core.protocol.core.impl.RemotingConnectionImpl] [] (hornetq-failure-check-thread) Connection failure has been detected: Did not receive data from /10.10.2.76:65408. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=3]

       

      2013-08-21 14:35:25,363 WARN  [org.hornetq.core.server.impl.ServerSessionImpl] [] (hornetq-failure-check-thread) Client connection failed, clearing up resources for session bbd39aa9-0a5d-11e3-902b-c5ad31cc537e

       

      2013-08-21 14:35:25,365 WARN  [org.hornetq.core.server.impl.ServerSessionImpl] [] (hornetq-failure-check-thread) Cleared up resources for session bbd39aa9-0a5d-11e3-902b-c5ad31cc537e

       

      2013-08-21 14:35:25,366 WARN  [org.hornetq.core.server.impl.ServerSessionImpl] [] (hornetq-failure-check-thread) Client connection failed, clearing up resources for session bbd3e8cb-0a5d-11e3-902b-c5ad31cc537e

       

      2013-08-21 14:35:25,375 WARN  [org.hornetq.core.server.impl.ServerSessionImpl] [] (hornetq-failure-check-thread) Cleared up resources for session bbd3e8cb-0a5d-11e3-902b-c5ad31cc537e

       

      Is it possible to get this information programmatically ?

       

      Regards

      Michael