[ http://jira.jboss.com/jira/browse/JBAS-1331?page=history ]
Adrian Brock closed JBAS-1331:
------------------------------
Resolution: Done
Fix Version: JBossAS-4.0.2RC1
I have changed all the exception to handle java.lang.Throwable
where this was not the case already, and done the other things
mentioned on this bug report.
This should now print a warning if the reconnect throws
a java.lang.RuntimeException or java.lang.Error
and it will continue to retry. But it probably means
something more serious is happening.
> Could not stop JMS connection
> -----------------------------
>
> Key: JBAS-1331
> URL: http://jira.jboss.com/jira/browse/JBAS-1331
> Project: JBoss Application Server
> Type: Bug
> Components: JMS service
> Versions: JBossAS-4.0.1 Final
> Reporter: Tim McCune
> Assignee: Adrian Brock
> Fix For: JBossAS-4.0.2RC1
> Attachments: patch.txt
>
>
> Sometimes my JBoss client will lose its connection to the server and it gets
> into a never-ending loop of spewing errors because Connection.doStop throws
> an exception. The stack trace looks like this:
> ******** ERROR Jan 26 08:53:25 [plugins.jms.JMSContainerInvoker] - Could not
> stop JMS connectionorg.jboss.mq.SpyJMSException: Cannot disable the
> connection with the JMS server; - nested throwable: (java.io.IOException:
> Client is not connected) at
> org.jboss.mq.Connection.doStop(Connection.java:1289) at
> org.jboss.mq.Connection.stop(Connection.java:718) at
> org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStop(JMSContainerInvoker.java:876)
> at
> org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.run(JMSContainerInvoker.java:1316)
> 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:232)
> at
> org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:200)
> at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:189)
> at org.jboss.mq.Connection.doStop(Connection.java:1285) ... 4 more
> This error occurs every 2 minutes until I restart the server. I patched
> Connection.java inside doStop to just log a warning if the call to
> serverIL.setEnabled throws an exception instead of wrapping it in a
> JMSException and rethrowing it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development