[Messaging, JMS & JBossMQ] - JMS Framework Stops on changing System Time
by hskiran
Hello All,
My Application uses JMS to execute scheduled Jobs, and these jobs run every minute.
But when JBOSS is running, if I change the System time, I get following exception from JMS framework and the whole JMS framewrok stops working. (org.jboss.mq.SpyJMSException: Cannot ping the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
)
I tried to set the Exception listener, but did not work out. Does anybody has an idea what is the problem?
006-12-13 18:55:57,732 TRACE [org.jboss.mq.il.uil2.UILServerIL] Connecting with addr=10.0.10.52, port=8093, localAddr=null, localPort=0, socketFactory=javax.net.DefaultSocketFactory@1d60412, enableTcpNoDelay=true, bufferSize=2048, chunkSize=1000000
2006-12-13 18:55:57,732 TRACE [org.jboss.mq.il.uil2.UILServerIL] Begin connect loop, maxRetries=10, delay=0
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.il.uil2.SocketManager] start called
java.lang.Exception: Start stack trace
at org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:96)
at org.jboss.mq.il.uil2.UILServerIL.createConnection(UILServerIL.java:666)
at org.jboss.mq.il.uil2.UILServerIL.getSocketMgr(UILServerIL.java:532)
at org.jboss.mq.il.uil2.UILServerIL.authenticate(UILServerIL.java:334)
at org.jboss.mq.Connection.authenticate(Connection.java:1114)
at org.jboss.mq.Connection.(Connection.java:267)
at org.jboss.mq.Connection.(Connection.java:338)
at org.jboss.mq.SpyConnection.(SpyConnection.java:68)
at org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:87)
at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:124)
at de.coconet.job.AbstractJob.executeWait(AbstractJob.java:1310)
at de.coconet.mwcustody.task.ExecuteJob.executeJob(ExecuteJob.java:241)
at de.coconet.job.TimerEntry.run(TimerEntry.java:91)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.il.uil2.UILServerILService] Accepted connection: Socket[addr=/10.0.10.52,port=3806,localport=8093]
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : getThreadGroup
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.server.TracingInterceptor] RETURN : getThreadGroup
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.il.uil2.SocketManager] start called
java.lang.Exception: Start stack trace
at org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:96)
at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:134)
at java.lang.Thread.run(Thread.java:595)
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.il.uil2.SocketManager] Begin internalSendMessage, round-trip msg=org.jboss.mq.il.uil2.msgs.CheckUserMsg29361740[msgType: m_authenticate, msgID: -2147483440, error: null]
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.Connection] PING 1166016357742 Connection@29140661[token=ConnectionToken:ID:7/810ca89fb0609798e062b52c9eef75dc rcvstate=STARTED]
2006-12-13 18:55:57,742 TRACE [org.jboss.mq.Connection] Notified of failure reason=Unexpected ping failure Connection@29140661[token=ConnectionToken:ID:7/810ca89fb0609798e062b52c9eef75dc rcvstate=STARTED]
org.jboss.mq.SpyJMSException: Cannot ping the JMS server; - nested throwable: (java.io.IOException: Client is not connected)
at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66)
at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51)
at org.jboss.mq.Connection.pingServer(Connection.java:887)
at org.jboss.mq.Connection$PingTask.run(Connection.java:1327)
at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: Client is not connected
at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238)
at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:224)
at org.jboss.mq.il.uil2.UILServerIL.ping(UILServerIL.java:462)
at org.jboss.mq.Connection.pingServer(Connection.java:883)
... 3 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993368#3993368
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993368
19 years, 4 months
[JBoss Seam] - Re: how retrieve current UIComponent
by jarkko@jab.fi
Hello,
I've a slight problem working with Seam enabled (not stricly related to seam ;) Portlets, JSF and Iceface. I think that each portlet has their own JSF view, anyone knows if this is correct?
Now, I use Seam to help those portlets communicate (through session, maybe one day I'll get the conversation scope to work too) with each other. With the inclusion of AJAX (Icefaces) I'm having some trouble getting screen updates at correct times. Like e.g. when drag-n-dropping something from one portlet to another. After dropping an draggable object to other portlet the backing bean (Seam enhanced POJO/SFSB) has got the correct id of JSF component, now however the drag initiated from other portlet (with it's own jsf view) and that JSF view doens't known anything the other view (from where I got the id anyways).
Is there are way to query for all JSF views to find a component?
I admit, it's quite unclear for me how the JSF works internally (how the views are structured etc), so bear if the problem is too silly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993366#3993366
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993366
19 years, 4 months