XAException.XAER_NOTA: javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'.

JBoss Issue Tracker | Miroslav Novak | 1 year ago
  1. 0

    Calling method commit(), rollback() on UserTransaction in MessageDrivenBean, closes any JMS connections which was part of this transaction. (WMQ RA 7.5.0.4) This is the same issue as hit with EAP 5/6 - JBPAPP-10482 Impact for customers: Incorrect behavior of UserTransactions causes that after rollback is called, any JMS connection which was part of this transaction, is closed. Connection must be created. Test fails with: {code} [javatest.batch] 10:12:18,002 INFO [stdout] (Thread-59) 12-10-2015 10:12:18: ERROR: java.lang.Exception: Test8 - [javatest.batch] 10:12:18,002 INFO [stdout] (Thread-59) at com.sun.ts.tests.jms.ee.mdb.xa.MDBClient.Test8(MDBClient.java:353) [javatest.batch] 10:12:18,002 INFO [stdout] (Thread-59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javatest.batch] 10:12:18,002 INFO [stdout] (Thread-59) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [javatest.batch] 10:12:18,002 INFO [stdout] (Thread-59) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [javatest.batch] 10:12:18,002 INFO [stdout] (Thread-59) at java.lang.reflect.Method.invoke(Method.java:497) [javatest.batch] 10:12:18,003 INFO [stdout] (Thread-59) at com.sun.ts.lib.harness.EETest.run(EETest.java:495) [javatest.batch] 10:12:18,003 INFO [stdout] (Thread-59) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:392) [javatest.batch] 10:12:18,003 INFO [stdout] (Thread-59) at com.sun.ts.lib.harness.EETest.run(EETest.java:252) [javatest.batch] 10:12:18,003 INFO [stdout] (Thread-59) at com.sun.ts.lib.harness.EETest.run(EETest.java:204) [javatest.batch] 10:12:18,003 INFO [stdout] (Thread-59) at com.sun.ts.tests.jms.ee.mdb.xa.MDBClient.main(MDBClient.java:48) [javatest.batch] 10:12:18,003 INFO [stdout] (Thread-59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javatest.batch] 10:12:18,003 INFO [stdout] (Thread-59) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [javatest.batch] 10:12:18,003 INFO [stdout] (Thread-59) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [javatest.batch] 10:12:18,003 INFO [stdout] (Thread-59) at java.lang.reflect.Method.invoke(Method.java:497) [javatest.batch] 10:12:18,004 INFO [stdout] (Thread-59) at org.jboss.as.appclient.service.ApplicationClientStartService$1.run(ApplicationClientStartService.java:120) [javatest.batch] 10:12:18,004 INFO [stdout] (Thread-59) at java.lang.Thread.run(Thread.java:745) [javatest.batch] 10:12:18,004 INFO [stdout] (Thread-59) [javatest.batch] 10:12:18,004 INFO [stdout] (Thread-59) 12-10-2015 10:12:18: Client: Closing QueueConnection [javatest.batch] 10:12:18,009 INFO [stdout] (Thread-59) 12-10-2015 10:12:18: Client: Closing TopicConnection [javatest.batch] 10:12:18,017 INFO [stdout] (Thread-63) 12-10-2015 10:12:18: SVR-ERROR: com.ibm.msg.client.jms.DetailedIllegalStateException: MQJCA1020: The session is closed. [javatest.batch] 10:12:18,018 INFO [stdout] (Thread-63) The application attempted to use a JMS session after it had closed the session. [javatest.batch] 10:12:18,018 INFO [stdout] (Thread-63) Modify the application so that it closes the JMS session only after it has finished using the session. [javatest.batch] 10:12:18,018 INFO [stdout] (Thread-63) at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:154) [javatest.batch] 10:12:18,018 INFO [stdout] (Thread-63) at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:91) [javatest.batch] 10:12:18,018 INFO [stdout] (Thread-63) at com.ibm.mq.connector.outbound.SessionWrapper.assertOpen(SessionWrapper.java:602) [javatest.batch] 10:12:18,018 INFO [stdout] (Thread-63) at com.ibm.mq.connector.outbound.QueueSessionWrapper.createSender(QueueSessionWrapper.java:121) [javatest.batch] 10:12:18,019 INFO [stdout] (Thread-63) at com.sun.ts.tests.jms.common.JmsUtil.sendTestResults(JmsUtil.java:215) [javatest.batch] 10:12:18,019 INFO [stdout] (Thread-63) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa.runTest8(MsgBeanxa.java:275) [javatest.batch] 10:12:18,019 INFO [stdout] (Thread-63) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa.runTests(MsgBeanxa.java:122) [javatest.batch] 10:12:18,019 INFO [stdout] (Thread-63) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa.onMessage(MsgBeanxa.java:78) [javatest.batch] 10:12:18,019 INFO [stdout] (Thread-63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at java.lang.reflect.Method.invoke(Method.java:497) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:103) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:58) [javatest.batch] 10:12:18,020 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,021 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:53) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,022 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66) [javatest.batch] 10:12:18,023 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription$5$1.processInvocation(MessageDrivenComponentDescription.java:239) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) [javatest.batch] 10:12:18,025 INFO [stdout] (Thread-63) at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) [javatest.batch] 10:12:18,026 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,026 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) [javatest.batch] 10:12:18,026 INFO [stdout] (Thread-63) at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) [javatest.batch] 10:12:18,026 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,026 INFO [stdout] (Thread-63) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [javatest.batch] 10:12:18,026 INFO [stdout] (Thread-63) at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195) [javatest.batch] 10:12:18,026 INFO [stdout] (Thread-63) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) [javatest.batch] 10:12:18,026 INFO [stdout] (Thread-63) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa$$$view32.onMessage(Unknown Source) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at java.lang.reflect.Method.invoke(Method.java:497) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:139) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73) [javatest.batch] 10:12:18,027 INFO [stdout] (Thread-63) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa$$$endpoint12.onMessage(Unknown Source) [javatest.batch] 10:12:18,028 INFO [stdout] (Thread-63) at com.ibm.mq.connector.inbound.MessageEndpointWrapper.onMessage(MessageEndpointWrapper.java:136) [javatest.batch] 10:12:18,028 INFO [stdout] (Thread-63) at com.ibm.mq.jms.MQSession$FacadeMessageListener.onMessage(MQSession.java:138) [javatest.batch] 10:12:18,028 INFO [stdout] (Thread-63) at com.ibm.msg.client.jms.internal.JmsSessionImpl.run(JmsSessionImpl.java:2677) [javatest.batch] 10:12:18,028 INFO [stdout] (Thread-63) at com.ibm.mq.jms.MQSession.run(MQSession.java:963) [javatest.batch] 10:12:18,028 INFO [stdout] (Thread-63) at com.ibm.mq.connector.inbound.ASFWorkImpl.doDelivery(ASFWorkImpl.java:102) [javatest.batch] 10:12:18,028 INFO [stdout] (Thread-63) at com.ibm.mq.connector.inbound.AbstractWorkImpl.run(AbstractWorkImpl.java:237) [javatest.batch] 10:12:18,028 INFO [stdout] (Thread-63) at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:226) [javatest.batch] 10:12:18,029 INFO [stdout] (Thread-63) at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33) [javatest.batch] 10:12:18,029 INFO [stdout] (Thread-63) at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808) [javatest.batch] 10:12:18,029 INFO [stdout] (Thread-63) at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45) [javatest.batch] 10:12:18,029 INFO [stdout] (Thread-63) at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:828) [javatest.batch] 10:12:18,029 INFO [stdout] (Thread-63) at java.lang.Thread.run(Thread.java:745) [javatest.batch] 10:12:18,029 INFO [stdout] (Thread-63) at org.jboss.threads.JBossThread.run(JBossThread.java:320) [javatest.batch] 10:12:18,029 INFO [stdout] (Thread-63) [javatest.batch] 10:12:19,037 ERROR [stderr] (Thread-59) STATUS:Failed.Test case throws exception: Test Failed! [javatest.batch] 10:12:19,039 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested. {code} and server: {code} 10:12:17,998 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (default-threads - 1) wmq.jmsra.rar: MQJCA4026:Transaction backed out with reason: 'The method 'xa_end' has failed with errorCode '100'.'. 10:12:18,001 WARN [com.arjuna.ats.jta] (default-threads - 1) ARJUNA016045: attempted rollback of < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffff0a106420:519b4436:56699635:12, node_name=1, branch_uid=0:ffff0a106420:519b4436:56699635:15, subordinatenodename=null, eis_name=java:/jms/QueueConnectionFactory > (XAResourceWrapperImpl@5ddd1ecd[xaResource=com.ibm.mq.connector.xa.XARWrapper@6c3a79ab pad=false overrideRmValue=null productName=WebSphere MQ productVersion=%I% %E% %U% jndiName=java:/jms/QueueConnectionFactory]) failed with exception code XAException.XAER_NOTA: javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'. at com.ibm.mq.jmqi.JmqiXAResource.rollback(JmqiXAResource.java:861) at com.ibm.mq.connector.xa.XARWrapper.rollback(XARWrapper.java:503) at org.jboss.jca.core.tx.jbossts.XAResourceWrapperImpl.rollback(XAResourceWrapperImpl.java:196) at org.jboss.jca.core.tx.jbossts.XAResourceWrapperStatImpl.rollback(XAResourceWrapperStatImpl.java:160) at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelAbort(XAResourceRecord.java:369) at com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:2994) at com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:2973) at com.arjuna.ats.arjuna.coordinator.BasicAction.Abort(BasicAction.java:1655) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.cancel(TwoPhaseCoordinator.java:127) at com.arjuna.ats.arjuna.AtomicAction.abort(AtomicAction.java:186) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.rollbackAndDisassociate(TransactionImple.java:1282) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:143) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:134) at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:187) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa.runTest8(MsgBeanxa.java:272) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa.runTests(MsgBeanxa.java:122) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa.onMessage(MsgBeanxa.java:78) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:103) at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:58) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:53) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription$5$1.processInvocation(MessageDrivenComponentDescription.java:239) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636) at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356) at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa$$$view32.onMessage(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:139) at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73) at com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa$$$endpoint12.onMessage(Unknown Source) at com.ibm.mq.connector.inbound.MessageEndpointWrapper.onMessage(MessageEndpointWrapper.java:136) at com.ibm.mq.jms.MQSession$FacadeMessageListener.onMessage(MQSession.java:138) at com.ibm.msg.client.jms.internal.JmsSessionImpl.run(JmsSessionImpl.java:2677) at com.ibm.mq.jms.MQSession.run(MQSession.java:963) at com.ibm.mq.connector.inbound.ASFWorkImpl.doDelivery(ASFWorkImpl.java:102) at com.ibm.mq.connector.inbound.AbstractWorkImpl.run(AbstractWorkImpl.java:237) at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:226) at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33) at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808) at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45) at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:828) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) 10:12:18,003 ERROR [org.jboss.jca.core.connectionmanager.listener.TxConnectionListener] (default-threads - 1) IJ000315: Pool QueueConnectionFactory has 1 active handles 10:12:18,016 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (default-threads - 1) wmq.jmsra.rar: MQJCA4016:Unregistered connection handle being closed: 'com.ibm.mq.connector.outbound.QueueConnectionWrapper@f67941f'. {code}

    JBoss Issue Tracker | 1 year ago | Miroslav Novak
    XAException.XAER_NOTA: javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'.
  2. 0

    MQ raises XAER_NOTA: 'xa_rollback' has failed with errorCode '-4' in EAP 6 - Red Hat Customer Portal

    redhat.com | 2 months ago
    XAException.XAER_NOTA: javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'.
  3. 0

    6.2.0 Release Notes

    redhat.com | 4 months ago
    XAException.XAER_NOTA: javax.transaction.xa.XAException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    7.3. Known Issues

    redhat.com | 3 months ago
    XAException.XAER_NOTA: javax.transaction.xa.XAException
  6. 0

    6.2.0 Release Notes

    redhat.com | 3 months ago
    XAException.XAER_NOTA: javax.transaction.xa.XAException

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. XAException.XAER_NOTA

      javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'.

      at com.ibm.mq.jmqi.JmqiXAResource.rollback()
    2. com.ibm.mq
      XARWrapper.rollback
      1. com.ibm.mq.jmqi.JmqiXAResource.rollback(JmqiXAResource.java:861)
      2. com.ibm.mq.connector.xa.XARWrapper.rollback(XARWrapper.java:503)
      2 frames
    3. IronJacamar
      XAResourceWrapperStatImpl.rollback
      1. org.jboss.jca.core.tx.jbossts.XAResourceWrapperImpl.rollback(XAResourceWrapperImpl.java:196)
      2. org.jboss.jca.core.tx.jbossts.XAResourceWrapperStatImpl.rollback(XAResourceWrapperStatImpl.java:160)
      2 frames
    4. JBossTS jbossjta
      BaseTransaction.rollback
      1. com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelAbort(XAResourceRecord.java:369)
      2. com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:2994)
      3. com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:2973)
      4. com.arjuna.ats.arjuna.coordinator.BasicAction.Abort(BasicAction.java:1655)
      5. com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.cancel(TwoPhaseCoordinator.java:127)
      6. com.arjuna.ats.arjuna.AtomicAction.abort(AtomicAction.java:186)
      7. com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.rollbackAndDisassociate(TransactionImple.java:1282)
      8. com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:143)
      8 frames
    5. Narayana: ArjunaJTS integration
      BaseTransactionManagerDelegate.rollback
      1. com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:134)
      1 frame
    6. JBoss Transaction 7.1.0 SPI
      ServerVMClientUserTransaction.rollback
      1. org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:187)
      1 frame
    7. com.sun.ts
      MsgBeanxa.onMessage
      1. com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa.runTest8(MsgBeanxa.java:272)
      2. com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa.runTests(MsgBeanxa.java:122)
      3. com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa.onMessage(MsgBeanxa.java:78)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    9. JBoss Application Server: EE
      ManagedReferenceMethodInterceptor.processInvocation
      1. org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
      1 frame
    10. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    11. JBoss Application Server: EJB Subsystem
      ExecutionTimeInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
      1 frame
    12. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    13. JBoss Application Server: EJB Subsystem
      BMTInterceptor.processInvocation
      1. org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:103)
      2. org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:58)
      2 frames
    14. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    15. WildFly: EE
      ConcurrentContextInterceptor.processInvocation
      1. org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      1 frame
    16. JBoss Application Server Server
      ChainedInterceptor.processInvocation
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
      3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      4. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      4 frames
    17. JBoss Application Server: EE
      ComponentDispatcherInterceptor.processInvocation
      1. org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
      1 frame
    18. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    19. JBoss Application Server: EJB Subsystem
      PooledInstanceInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
      1 frame
    20. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    21. JBoss Application Server: EJB Subsystem
      CurrentInvocationContextInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
      1 frame
    22. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    23. JBoss Application Server: EJB Subsystem
      WaitTimeInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
      1 frame
    24. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    25. JBoss Application Server: EJB Subsystem
      SecurityContextInterceptor.processInvocation
      1. org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
      1 frame
    26. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    27. JBoss Application Server: EJB Subsystem
      ShutDownInterceptorFactory$1.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
      1 frame
    28. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    29. JBoss Application Server: EJB Subsystem
      EjbSuspendInterceptor.processInvocation
      1. org.jboss.as.ejb3.deployment.processors.EjbSuspendInterceptor.processInvocation(EjbSuspendInterceptor.java:53)
      1 frame
    30. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    31. JBoss Application Server: EJB Subsystem
      LoggingInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
      1 frame
    32. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    33. JBoss Application Server: EE
      NamespaceContextInterceptor.processInvocation
      1. org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
      1 frame
    34. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    35. JBoss Application Server: EJB Subsystem
      AdditionalSetupInterceptor.processInvocation
      1. org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
      1 frame
    36. JBoss Application Server Server
      InterceptorContext.proceed
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      1 frame
    37. JBoss Application Server: EJB Subsystem
      MessageDrivenComponentDescription$5$1.processInvocation
      1. org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription$5$1.processInvocation(MessageDrivenComponentDescription.java:239)
      1 frame
    38. JBoss Application Server Server
      InterceptorContext.run
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
      3. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      4. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      4 frames
    39. WildFly Security Manager
      WildFlySecurityManager.doChecked
      1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
      1 frame
    40. JBoss Application Server Server
      ChainedInterceptor.processInvocation
      1. org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
      2. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      3. org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      4. org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
      5. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      6. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      6 frames
    41. JBoss Application Server: EE
      ViewDescription$1.processInvocation
      1. org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
      2. org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
      2 frames
    42. JBoss Application Server Server
      ChainedInterceptor.processInvocation
      1. org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      2. org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      2 frames
    43. JBoss Application Server: EE
      ProxyInvocationHandler.invoke
      1. org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
      1 frame
    44. com.sun.ts
      MsgBeanxa$$$view32.onMessage
      1. com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa$$$view32.onMessage(Unknown Source)
      1 frame
    45. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    46. JBoss Application Server: EJB Subsystem
      AbstractInvocationHandler.invoke
      1. org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:139)
      2. org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73)
      2 frames
    47. com.sun.ts
      MsgBeanxa$$$endpoint12.onMessage
      1. com.sun.ts.tests.jms.ee.mdb.xa.MsgBeanxa$$$endpoint12.onMessage(Unknown Source)
      1 frame
    48. com.ibm.mq
      MQSession$FacadeMessageListener.onMessage
      1. com.ibm.mq.connector.inbound.MessageEndpointWrapper.onMessage(MessageEndpointWrapper.java:136)
      2. com.ibm.mq.jms.MQSession$FacadeMessageListener.onMessage(MQSession.java:138)
      2 frames
    49. com.ibm.msg
      JmsSessionImpl.run
      1. com.ibm.msg.client.jms.internal.JmsSessionImpl.run(JmsSessionImpl.java:2677)
      1 frame
    50. com.ibm.mq
      AbstractWorkImpl.run
      1. com.ibm.mq.jms.MQSession.run(MQSession.java:963)
      2. com.ibm.mq.connector.inbound.ASFWorkImpl.doDelivery(ASFWorkImpl.java:102)
      3. com.ibm.mq.connector.inbound.AbstractWorkImpl.run(AbstractWorkImpl.java:237)
      3 frames
    51. IronJacamar
      WorkWrapper.run
      1. org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:226)
      1 frame
    52. JBoss Threads
      QueueExecutor$Worker.run
      1. org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
      2. org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808)
      3. org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
      4. org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:828)
      4 frames
    53. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame
    54. JBoss Threads
      JBossThread.run
      1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
      1 frame