<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    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.
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/NJaganMohanRao">Jagan Rao</a> in <i>JBoss Messaging</i> - <a href="http://community.jboss.org/message/565075#565075">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello All,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am facing a problem with JBoss Messaging,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #0000ff;">Environment:</span></p><p>JBoss Server Version: Jboss 4.2.3 GA</p><p>JMS Messaging Version: 1.4.2.GA-SP1</p><p>Our JMS Messaging remote clients need to receive Messages 24X7, so this process or client need to be reliable in receiving messages.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #ff0000;">Problem Area:</span></p><p>At production Environment After few hours clients stop receiving Messages automatically, at the server side we receive warning as below:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Level<br/>WARN<br/>Logger<br/>org.jboss.jms.server.connectionmanager.SimpleConnectionManager<br/>Time<br/>2010-10-06 11:47:16,812<br/>Thread<br/>Timer-18<br/>Message<br/>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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.</p><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>If anyone knows the root cause or solution to the problem please let me know - I need solution immediatly.</p><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks in Advance,</p><p>Jagan.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/565075#565075">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Messaging at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>