I'm using HornetQ with Glassfish 3.0.1. You can see how I set the two up
here:
http://community.jboss.org/message/552628#552628
Anyway (as mentioned in that post), I'm having a problem where my MDBs no
longer work once I do a redeploy by touching .reload Error details are
below.
Does anyone know the solution to this?
Thanks,
Jacques
Error Information:
*When the reload starts, I see these statements (I assume one for each of my
currently active mdbs):*
[#|2010-07-14T11:44:57.988-0700|WARNING|glassfish3.0.1|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=20;_ThreadName=Thread-1;|[MDBContainer]
Current thread done cleanup()... |#]
[#|2010-07-14T11:44:57.988-0700|WARNING|glassfish3.0.1|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=20;_ThreadName=Thread-1;|[MDBContainer]
Current thread done cleanup()... |#]
[#|2010-07-14T11:44:57.988-0700|WARNING|glassfish3.0.1|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=20;_ThreadName=Thread-1;|[MDBContainer]
Current thread done cleanup()... |#]
[#|2010-07-14T11:44:57.988-0700|WARNING|glassfish3.0.1|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=20;_ThreadName=Thread-1;|[MDBContainer]
Current thread done cleanup()... |#]
[#|2010-07-14T11:44:57.988-0700|WARNING|glassfish3.0.1|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=20;_ThreadName=Thread-1;|[MDBContainer]
Current thread done cleanup()... |#]
[#|2010-07-14T11:44:58.003-0700|WARNING|glassfish3.0.1|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=20;_ThreadName=Thread-1;|[MDBContainer]
Current thread done cleanup()... |#]
[#|2010-07-14T11:44:58.003-0700|WARNING|glassfish3.0.1|javax.enterprise.system.container.ejb.mdb.com.sun.ejb.containers|_ThreadID=20;_ThreadName=Thread-1;|[MDBContainer]
Current thread done cleanup()... |#]
*And then when I try to send/receive a message, I see this exception*
[#|2010-07-14T11:54:04.664-0700|SEVERE|glassfish3.0.1|org.hornetq.ra.inflow.HornetQMessageHandler|_ThreadID=29;_ThreadName=Thread-1;|Failed
to deliver message
javax.ejb.EJBException: testing:InputWorker: Message-driven bean invocation
closed by container
at
com.sun.ejb.containers.MessageBeanContainer.beforeMessageDelivery(MessageBeanContainer.java:975)
at
com.sun.ejb.containers.MessageBeanListenerImpl.beforeMessageDelivery(MessageBeanListenerImpl.java:72)
at
com.sun.enterprise.connectors.inbound.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:134)
at $Proxy198.beforeDelivery(Unknown Source)
at
org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:254)
at
org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:823)
at
org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46)
at
org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:941)
at
org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:96)
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)
|#]