javax.transaction.xa.XAException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Exception while testing MDB
    via by marekd,
  • Exception while testing MDB
    via by marekd,
  • Working channel in 2.2.1 is giving error in 3.0.0 In 2.2.1 the activemq-all-5.1.0.jar was copied in mirthconenct/lib/externals. But in 3.0.0 since there is no folder called lib,I copied the same to /server-lib/externals. While deploying the channel,its giving error. ERROR 2013-10-10 12:50:36,715 [Thread-1] com.mirth.connect.server.Mirth: http.port port is already in use: 8081 ERROR 2013-10-10 12:50:36,716 [Thread-1] com.mirth.connect.server.Mirth: https.port port is already in use: 8443 ERROR 2013-10-10 12:52:04,313 [pool-3-thread-1] com.mirth.connect.donkey.server.channel.Channel: Error stopping Source connector for channel RIS-HIS Patient Update - 34 (e86e6a5c-d09f-4132-adb6-1dd27f1df4b7). com.mirth.connect.donkey.server.StopException: Failed to close JMS connection at com.mirth.connect.connectors.jms.JmsReceiver.onStop(JmsReceiver.java:99) at com.mirth.connect.donkey.server.channel.SourceConnector.stop(SourceConnector.java:102) at com.mirth.connect.donkey.server.channel.Channel.stop(Channel.java:688) at com.mirth.connect.donkey.server.channel.Channel.access$2500(Channel.java:79) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1868) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1780) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: com.mirth.connect.donkey.server.StopException: Failed to close the JMS connection at com.mirth.connect.connectors.jms.JmsClient.stop(JmsClient.java:148) at com.mirth.connect.connectors.jms.JmsReceiver.onStop(JmsReceiver.java:97) ... 10 more Caused by: org.apache.activemq.ConnectionClosedException: The connection is already closed at org.apache.activemq.ActiveMQConnection.checkClosed(ActiveMQConnection.java:1271) at org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1258) at org.apache.activemq.ActiveMQConnection.stop(ActiveMQConnection.java:497) at org.apache.activemq.ActiveMQConnection.close(ActiveMQConnection.java:552) at com.mirth.connect.connectors.jms.JmsClient.stop(JmsClient.java:146) ... 11 more ERROR 2013-10-10 12:52:04,426 [Thread-2] com.mirth.connect.server.controllers.DonkeyEngineController: Error deploying channel e86e6a5c-d09f-4132-adb6-1dd27f1df4b7. com.mirth.connect.donkey.server.StartException: com.mirth.connect.donkey.server.StartException: Failed to initialize JMS message consumer for destination "topic://dynamicTopics/dhl7PatientUpdateSubsc" at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1880) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1780) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: com.mirth.connect.donkey.server.StartException: Failed to initialize JMS message consumer for destination "topic://dynamicTopics/dhl7PatientUpdateSubsc" at com.mirth.connect.connectors.jms.JmsReceiver.onStart(JmsReceiver.java:88) at com.mirth.connect.donkey.server.channel.SourceConnector.start(SourceConnector.java:88) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1858) ... 6 more Caused by: javax.naming.NamingException: scheme topic not recognized at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:211) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.mirth.connect.connectors.jms.JmsClient.getDestination(JmsClient.java:190 ) at com.mirth.connect.connectors.jms.JmsReceiver.onStart(JmsReceiver.java:70) ... 8 more
    via by Saju Nair,
  • Working channel in 2.2.1 is giving error in 3.0.0 In 2.2.1 the activemq-all-5.1.0.jar was copied in mirthconenct/lib/externals. But in 3.0.0 since there is no folder called lib,I copied the same to /server-lib/externals. While deploying the channel,its giving error. ERROR 2013-10-10 12:50:36,715 [Thread-1] com.mirth.connect.server.Mirth: http.port port is already in use: 8081 ERROR 2013-10-10 12:50:36,716 [Thread-1] com.mirth.connect.server.Mirth: https.port port is already in use: 8443 ERROR 2013-10-10 12:52:04,313 [pool-3-thread-1] com.mirth.connect.donkey.server.channel.Channel: Error stopping Source connector for channel RIS-HIS Patient Update - 34 (e86e6a5c-d09f-4132-adb6-1dd27f1df4b7). com.mirth.connect.donkey.server.StopException: Failed to close JMS connection at com.mirth.connect.connectors.jms.JmsReceiver.onStop(JmsReceiver.java:99) at com.mirth.connect.donkey.server.channel.SourceConnector.stop(SourceConnector.java:102) at com.mirth.connect.donkey.server.channel.Channel.stop(Channel.java:688) at com.mirth.connect.donkey.server.channel.Channel.access$2500(Channel.java:79) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1868) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1780) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: com.mirth.connect.donkey.server.StopException: Failed to close the JMS connection at com.mirth.connect.connectors.jms.JmsClient.stop(JmsClient.java:148) at com.mirth.connect.connectors.jms.JmsReceiver.onStop(JmsReceiver.java:97) ... 10 more Caused by: org.apache.activemq.ConnectionClosedException: The connection is already closed at org.apache.activemq.ActiveMQConnection.checkClosed(ActiveMQConnection.java:1271) at org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1258) at org.apache.activemq.ActiveMQConnection.stop(ActiveMQConnection.java:497) at org.apache.activemq.ActiveMQConnection.close(ActiveMQConnection.java:552) at com.mirth.connect.connectors.jms.JmsClient.stop(JmsClient.java:146) ... 11 more ERROR 2013-10-10 12:52:04,426 [Thread-2] com.mirth.connect.server.controllers.DonkeyEngineController: Error deploying channel e86e6a5c-d09f-4132-adb6-1dd27f1df4b7. com.mirth.connect.donkey.server.StartException: com.mirth.connect.donkey.server.StartException: Failed to initialize JMS message consumer for destination "topic://dynamicTopics/dhl7PatientUpdateSubsc" at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1880) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1780) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: com.mirth.connect.donkey.server.StartException: Failed to initialize JMS message consumer for destination "topic://dynamicTopics/dhl7PatientUpdateSubsc" at com.mirth.connect.connectors.jms.JmsReceiver.onStart(JmsReceiver.java:88) at com.mirth.connect.donkey.server.channel.SourceConnector.start(SourceConnector.java:88) at com.mirth.connect.donkey.server.channel.Channel$StartTask.call(Channel.java:1858) ... 6 more Caused by: javax.naming.NamingException: scheme topic not recognized at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:211) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.mirth.connect.connectors.jms.JmsClient.getDestination(JmsClient.java:190 ) at com.mirth.connect.connectors.jms.JmsReceiver.onStart(JmsReceiver.java:70) ... 8 more
    via by Saju Nair,
    • javax.transaction.xa.XAException: The connection is already closed at org.apache.activemq.TransactionContext.toXAException(TransactionContext.java:619) at org.apache.activemq.TransactionContext.setXid(TransactionContext.java:556) at org.apache.activemq.TransactionContext.start(TransactionContext.java:299) at org.apache.activemq.ra.LocalAndXATransaction.start(LocalAndXATransaction.java:136) at org.apache.geronimo.transaction.manager.WrapperNamedXAResource.start(WrapperNamedXAResource.java:86) at org.apache.geronimo.transaction.manager.TransactionImpl.enlistResource(TransactionImpl.java:208) at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:54) at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:86) at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43) at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39) at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66) at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:87) at org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:92) at org.apache.activemq.ra.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:66) at example.ComputeServiceImpl.compute(ComputeServiceImpl.java:29) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:158) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:141) at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67) at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:211) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:169) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217) at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77) at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:286) at $Proxy11.compute(Unknown Source) at MessageDrivenBeanTest.testMessageDrivenBean(MessageDrivenBeanTest.java:76) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) at org.testng.internal.Invoker.invokeMethod(Invoker.java:478) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110) at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:132) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.activemq.ConnectionClosedException: The connection is already closed at org.apache.activemq.ActiveMQConnection.checkClosed(ActiveMQConnection.java:1245) at org.apache.activemq.ActiveMQConnection.checkClosedOrFailed(ActiveMQConnection.java:1232) at org.apache.activemq.TransactionContext.setXid(TransactionContext.java:553) ... 39 more
    No Bugmate found.