Hide Forgot
++ This bug is a clone of bug 779940 ++ project_key: SOA The following entries are logged when shutting down the server: 17:09:08,345 WARN [HornetQXAResourceWrapper] Notified of connection failure in recovery connectionFactory for provider org.hornetq.core.remoting.impl.invm.InVMConnectorFactory HornetQException[errorCode=4 message=The connection was disconnected because of server shutdown] at org.hornetq.core.client.impl.FailoverManagerImpl$Channel0Handler$1.run(FailoverManagerImpl.java:1118) at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) 17:09:08,797 INFO [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) stopped
Link: Added: This issue depends JBPAPP-5080
Link: Added: This issue is duplicated by SOA-2321
From JBPAPP-5080: From a HornetQ perspective there's nothing we can do to get rid of this exception. This is because the life-cycle of the HornetQXAResourceWrapper is under the control of the Transaction Manager and since there are no life cycle methods in the XAResourceWrapper interface (i.e. close or stop) we have no hook point as to when we can close the underlying connection. As far as I'm aware this is addressed in AS7.
it seems to be resolved in JBPAPP-5080 is it not possible to provide (possibly backport) the solution for JBoss 6 series? As migration to JBoss7 is not an option for us.