javax.transaction.xa.XAException: The connection is already closed

openejb-users | marekd | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception while testing MDB

    openejb-users | 8 years ago | marekd
    javax.transaction.xa.XAException: The connection is already closed
  2. 0

    Exception while testing MDB

    openejb-users | 8 years ago | marekd
    javax.transaction.xa.XAException: The connection is already closed
  3. 0

    JMS Connection Closed Exception in Glassfish

    Stack Overflow | 3 years ago | jch
    javax.transaction.xa.XAException: The connection is already closed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GlassFish Related Items on Java.net

    rssing.com | 2 years ago
    javax.transaction.xa.XAException: The connection is already closed
  6. 0

    ActiveMQ - User - XAException: Stopped

    nabble.com | 8 months ago
    javax.transaction.xa.XAException: Failover timeout of 60000 ms reached.

    Root Cause Analysis

    1. org.apache.activemq.ConnectionClosedException

      The connection is already closed

      at org.apache.activemq.ActiveMQConnection.checkClosed()
    2. ActiveMQ :: Core
      TransactionContext.start
      1. org.apache.activemq.ActiveMQConnection.checkClosed(ActiveMQConnection.java:1245)
      2. org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1232)
      3. org.apache.activemq.TransactionContext.setXid(TransactionContext.java:553)
      4. org.apache.activemq.TransactionContext.start(TransactionContext.java:299)
      4 frames
    3. ActiveMQ :: RA
      LocalAndXATransaction.start
      1. org.apache.activemq.ra.LocalAndXATransaction.start(LocalAndXATransaction.java:136)
      1 frame
    4. Geronimo TxManager :: Transaction
      TransactionImpl.enlistResource
      1. org.apache.geronimo.transaction.manager.WrapperNamedXAResource.start(WrapperNamedXAResource.java:86)
      2. org.apache.geronimo.transaction.manager.TransactionImpl.enlistResource(TransactionImpl.java:208)
      2 frames
    5. Geronimo TxManager :: Connector
      AbstractConnectionManager.allocateConnection
      1. org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:54)
      2. org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:86)
      3. org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
      4. org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
      5. org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
      6. org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:87)
      6 frames
    6. ActiveMQ :: RA
      ActiveMQConnectionFactory.createConnection
      1. org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:92)
      2. org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:66)
      2 frames
    7. example
      ComputeServiceImpl.compute
      1. example.ComputeServiceImpl.compute(ComputeServiceImpl.java:29)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    9. OpenEJB :: OSGi :: Core
      BaseEjbProxyHandler.invoke
      1. org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158)
      2. org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141)
      3. org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
      4. org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:211)
      5. org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:169)
      6. org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
      7. org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
      8. org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:286)
      8 frames
    10. Unknown
      MessageDrivenBeanTest.testMessageDrivenBean
      1. $Proxy11.compute(Unknown Source)
      2. MessageDrivenBeanTest.testMessageDrivenBean(MessageDrivenBeanTest.java:76)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    12. TestNG
      ThreadUtil$CountDownLatchedRunnable.run
      1. org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
      7. org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:132)
      7 frames
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:619)
      3 frames