Saurav Kumar [
http://community.jboss.org/people/sauravkr] created the discussion
"Jboss messaging client stops if we set client machine timestap to 1 hr back"
To view the discussion, visit:
http://community.jboss.org/message/563734#563734
--------------------------------------------------------------
Dear All,
We have client server application based Rich client and Jboss AS. Server components fires
events on Topic and clients receives events by implementing messageListener-> onMessage
methods
We subscribe to events via ClusteredConnectionFactory.
mTopicConnectionFactory = (ConnectionFactory)
CmsServiceLocator.+lookup+(CmsServiceLocator.+JMS_ConnectionFactory);
mTopic = (Topic) CmsServiceLocator.+lookup+(+_DESTINATION_CMS_PUBLIC_);
mTopicConnection = mTopicConnectionFactory.createConnection();
// NOTE: Please don't make use of transacted session on client side, as it will lead
to accumulation of event objects
mTopicSession = mTopicConnection.createSession(*false, Session.+SESSION_TRANSACTED);
// Create subscriber
mSubscriber = mTopicSession.createConsumer(mTopic);
mSubscriber.setMessageListener(*this);
mTopicConnection.setExceptionListener(*this);
mTopicConnection.start();
*
*
+*
+
+
..
Now, whenever we set system time of client machine to backdate (server date is untouched)
we get a log on the server
<log4j:event
logger="org.jboss.jms.server.connectionmanager.SimpleConnectionManager"
timestamp="1285072335095" level="WARN"
thread="Timer-14">
<log4j:message><![CDATA[A problem has been detected with the connection to remote
client abie-3vn1e2-gecoh7dv-1-gecoh7q0-g, jmsClientID=n-7s7hoceg-1-vd7hoceg-2e1nv3-eiba.
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.]]></log4j:message>
</log4j:event>"
And client stops listing to client events. No log on the client side.
Can any one guide on it?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/563734#563734]
Start a new discussion in JBoss Messaging at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]