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

redhat.com | 6 months 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

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

    redhat.com | 6 months ago
    XAException.XAER_NOTA: javax.transaction.xa.XAException: The method 'xa_rollback' has failed with errorCode '-4'.
  2. 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 unregistered visitors

    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
      XAResourceWrapperImpl.rollback
      1. org.jboss.jca.core.tx.jbossts.XAResourceWrapperImpl.rollback(XAResourceWrapperImpl.java:186)
      1 frame
    4. JBossTS jbossjta
      BasicAction.doAbort
      1. com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.topLevelAbort(XAResourceRecord.java:358)
      2. com.arjuna.ats.arjuna.coordinator.BasicAction.doAbort(BasicAction.java:2875)
      2 frames