[jboss-jira] [JBoss JIRA] Commented: (JBAS-7878) Unhelpful exception from HornetQ RAR

Tim Fox (JIRA) jira-events at lists.jboss.org
Tue Mar 30 08:20:38 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBAS-7878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12522821#action_12522821 ] 

Tim Fox commented on JBAS-7878:
-------------------------------

Why is this a bug?

HornetQ is reporting exactly what it says on the tin.

Some code in the resource adaptor has created a session, but not closed it. This would be a bug in the RA.

> Unhelpful exception from HornetQ RAR
> ------------------------------------
>
>                 Key: JBAS-7878
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7878
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JMS (HornetQ)
>            Reporter: Carlo de Wolf
>            Assignee: Clebert Suconic
>             Fix For: JBossAS-6.0.0.M3
>
>
> When I create a connection in myself I get an exception pointing to the my own code.
> But when the connection is created via the RAR, I'm left clueless as to where the failure lies.
> 10:18:49,461 WARN  [org.hornetq.core.client.impl.DelegatingSession] I'm closing a core ClientSession you left open. Please make sure you close all ClientSessions explicitly before letting them go out of scope! 2033952918
> 10:18:49,462 WARN  [org.hornetq.core.client.impl.DelegatingSession] 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 message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list