You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2013/01/31 16:13:13 UTC

[jira] [Commented] (AMQ-4287) REOPEN - javax.jms.JMSException: The resource is allready being used in transaction context.

    [ https://issues.apache.org/jira/browse/AMQ-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13567704#comment-13567704 ] 

Gary Tully commented on AMQ-4287:
---------------------------------

would it be possible to modify one of the existing test cases to try and build a reproducible test case?
http://svn.apache.org/viewvc/activemq/trunk/activemq-ra/src/test/java/org/apache/activemq/ra/?pathrev=1440531
                
> REOPEN - javax.jms.JMSException: The resource is allready being used in transaction context. 
> ---------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4287
>                 URL: https://issues.apache.org/jira/browse/AMQ-4287
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Connector
>    Affects Versions: 5.5.0, 5.5.1, 5.7.0
>         Environment: SLES11sp1 64bits, Glassfish 2.1.1, Glassfish 3.1.1 activemq-5.5.0, jdk6
> Linux (unknow), Glassfish 3.1, activemq-5.5.1, 
> activemq-rar-5.7.0.rar
>            Reporter: Marcin Cinik
>            Priority: Critical
>
> I had to reopen the previous issue as the problem is still existing.
> I am using activemq-5.5 with activemq-rar-5.7.0.rar and I am getting
> {quote}
> Caused by: javax.jms.JMSException: The resource is already being used in transaction context.
>         at org.apache.activemq.ra.ManagedTransactionContext.setUseSharedTxContext(ManagedTransactionContext.java:47)
>         at org.apache.activemq.ra.ManagedSessionProxy.setUseSharedTxContext(ManagedSessionProxy.java:67)
>         at org.apache.activemq.ra.ManagedConnectionProxy.createSessionProxy(ManagedConnectionProxy.java:122)
>         at org.apache.activemq.ra.ManagedConnectionProxy.createSession(ManagedConnectionProxy.java:105)
> {quote}
> under high load. This is certainly critical issue as it prevents from using rar adapter for any serious applications.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira