This content has been marked as final.
Show 1 reply
-
1. Re: HornetQ RA not cleaning up after errors?
ataylor Mar 30, 2010 11:02 AM (in response to timfox)As far as i can see this happens when the setup fails and we dont clear up the connections properly in th eRA, i will fix this in the HornetQ RA.
There is anothe ru nderlying issue tho, it looks to me that there are 2 issues, the first looks like a classloader issue in the AS and gives the following exception:
- 11:38:07,872 ERROR [STDERR] java.lang.IllegalArgumentException: interface javax.resource.spi.endpoint.MessageEndpoint is not visible from class loader
- 11:38:07,873 ERROR [STDERR] at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
- 11:38:07,873 ERROR [STDERR] at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createProxy(JBossMessageEndpointFactory.java:154)
- 11:38:07,873 ERROR [STDERR] at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createEndpoint(JBossMessageEndpointFactory.java:142)
- 11:38:07,873 ERROR [STDERR] at org.hornetq.ra.inflow.HornetQMessageHandler.setup(HornetQMessageHandler.java:171)
- 11:38:07,874 ERROR [STDERR] at org.hornetq.ra.inflow.HornetQActivation.setup(HornetQActivation.java:286)
- 11:38:07,874 ERROR [STDERR] at org.hornetq.ra.inflow.HornetQActivation$SetupActivation.run(HornetQActivation.java:496)
- 11:38:07,874 ERROR [STDERR] at org.jboss.resource.work.WorkWrapper.run(WorkWrapper.java:172)
- 11:38:07,874 ERROR [STDERR] at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
- 11:38:07,874 ERROR [STDERR] at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:780)
- 11:38:07,874 ERROR [STDERR] at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
- 11:38:07,875 ERROR [STDERR] at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:800)
- 11:38:07,875 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
- 11:38:07,875 ERROR [STDERR] at org.jboss.threads.JBossThread.run(JBossThread.java:122)
It looks lik ethis exception is swallowed however and teh HornetQ ra carries on as normal causing an npe later on.