[jboss-dev] Unhelpful exception from HornetQ
Adrian Brock
abrock at redhat.com
Thu Mar 25 15:17:24 EDT 2010
You can tell from the stacktrace that is the HornetQ rar
that is not closing the session.
Probably because it is not handling errors properly
and so failing to cleanup when things break.
On Thu, 2010-03-25 at 19:52 +0100, Carlo de Wolf wrote:
> When my MDB test is done I get:
>
> 2010-03-25 19:29:29,378 WARN
> [org.hornetq.core.client.impl.DelegatingSession] (Finalizer) I'm closing
> a core ClientSession you left open. Please make sure you close all
> ClientSessions explicitly before letting them go out of scope! 1073232360
> 2010-03-25 19:29:29,378 WARN
> [org.hornetq.core.client.impl.DelegatingSession] (Finalizer) The
> ClientSession you didn't close was created here:: java.lang.Exception
> at
> org.hornetq.core.client.impl.DelegatingSession.<init>(DelegatingSession.java:93)
> at
> org.hornetq.core.client.impl.FailoverManagerImpl.createSession(FailoverManagerImpl.java:439)
> at
> org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:1063)
> at
> org.hornetq.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:790)
> at
> org.hornetq.ra.HornetQResourceAdapter.createSession(HornetQResourceAdapter.java:1306)
> at
> org.hornetq.ra.inflow.HornetQActivation.setupSession(HornetQActivation.java:336)
> at
> org.hornetq.ra.inflow.HornetQActivation.setup(HornetQActivation.java:283)
> at
> org.hornetq.ra.inflow.HornetQActivation$SetupActivation.run(HornetQActivation.java:496)
> at org.jboss.resource.work.WorkWrapper.run(WorkWrapper.java:172)
> at
> org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
> at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:780)
> at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
> at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:800)
> at java.lang.Thread.run(Thread.java:619)
> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
>
> This exception isn't telling me what I am(/might be) doing wrong.
>
> Carlo
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
--
xxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss by Redhat
xxxxxxxxxxxxxxxxxxxxx
More information about the jboss-development
mailing list