Hi,
I have a problem. I am working on sap nw v7.4 and 4 cluster(instance). My problem is transaction failed. Error log is below:
[EXCEPTION]
javax.resource.ResourceException
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.internalAfterDelivery(MessageEndpointImpl.java:256)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.afterDelivery(MessageEndpointImpl.java:229)
at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:109)
at com.sun.proxy.$Proxy534.afterDelivery(Unknown Source)
at com.sap.jms.resourceadapter.RaServerSession.run(RaServerSession.java:144)
at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:410)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:1
Interceptors_MessageListenerType.afterProceed(), Error:
[EXCEPTION]
com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Exception in XAResource.end.
at com.sap.engine.services.ts.jta.impl2.TXR_TransactionImpl.delistResource(TXR_TransactionImpl.java:339)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.afterProceed(Interceptors_MessageListenerType.java:234)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.invoke(Interceptors_MessageListenerType.java:98)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_AfterDelivery.invoke(Interceptors_AfterDelivery.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Lock.invoke(Interceptors_Lock.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.internalAfterDelivery(MessageEndpointImpl.java:247)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.afterDelivery(MessageEndpointImpl.java:229)
at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:109)
at com.sun.proxy.$Proxy534.afterDelivery(Unknown Source)
at com.sap.jms.resourceadapter.RaServerSession.run(RaServerSession.java:144)
at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:410)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: javax.transaction.xa.XAException
at com.sap.jms.client.session.JMSXASession.xaEnd(JMSXASession.java:422)
at com.sap.jms.client.session.JMSXAResource.end(JMSXAResource.java:58)
at com.s
Interceptors_MessageListenerType.throwApplicationOrEJBException(), Exception:
[EXCEPTION]
javax.ejb.EJBException: nested exception is: javax.ejb.EJBException: nested exception is: com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Exception in XAResource.end.
javax.ejb.EJBException: nested exception is: com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Exception in XAResource.end.
com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Exception in XAResource.end.
at com.sap.engine.services.ts.jta.impl2.TXR_TransactionImpl.delistResource(TXR_TransactionImpl.java:339)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.afterProceed(Interceptors_MessageListenerType.java:234)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.invoke(Interceptors_MessageListenerType.java:98)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_AfterDelivery.invoke(Interceptors_AfterDelivery.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Lock.invoke(Interceptors_Lock.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.internalAfterDelivery(MessageEndpointImpl.java:247)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.afterDelivery(MessageEndpointImpl.java:229)
at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:109)
at com.sun.proxy.$Proxy534.afterDelivery(Unknown Source)
at com.sap.jms.resourceadapter.RaServerSession.run(RaServerSession.java:144)
at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:410)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: javax.transaction.xa.XAException
at com.sap.jms.client.session.JMSXASession.xaEnd(JMSXASession.java:422)
at com.sap.jms.client.session.JMSXAResource.end(JMSXAResource.java:58)
at com.sap.engine.services.ts.jta.impl2.XAResourceWrapper.delistResource(XAResourceWrapper.java:137)
at com.sap.engine.services.ts.jta.impl2.TXR_TransactionImpl.delistResource(TXR_TransactionImpl.java:333)
... 16 more
javax.ejb.EJBException: nested exception is: com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Exception in XAResource.end.
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.afterProceed(Interceptors_MessageListenerType.java:267)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.invoke(Interceptors_MessageListenerType.java:98)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_AfterDelivery.invoke(Interceptors_AfterDelivery.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Lock.invoke(Interceptors_Lock.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.internalAfterDelivery(MessageEndpointImpl.java:247)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.afterDelivery(MessageEndpointImpl.java:229)
at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:109)
at com.sun.proxy.$Proxy534.afterDelivery(Unknown Source)
at com.sap.jms.resourceadapter.RaServerSession.run(RaServerSession.java:144)
at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:410)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
javax.ejb.EJBException: nested exception is: javax.ejb.EJBException: nested exception is: com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Exception in XAResource.end.
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.throwApplicationOrEJBException(Interceptors_MessageListenerType.java:290)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.invoke(Interceptors_MessageListenerType.java:103)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_AfterDelivery.invoke(Interceptors_AfterDelivery.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Lock.invoke(Interceptors_Lock.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.internalAfterDelivery(MessageEndpointImpl.java:247)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.afterDelivery(MessageEndpointImpl.java:229)
at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:109)
at com.sun.proxy.$Proxy534.afterDelivery(Unknown Source)
at com.sap.jms.resourceadapter.RaServerSession.run(RaServerSession.java:144)
at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:410)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.jav
MessageEndpointImpl.internalAfterDelivery(), BeanIdentity: 'sap.com/fit.earsiv.core.app*annotation|earsivCoreEjb.jar*xml|ReportGenerationJobBean', Error:
[EXCEPTION]
javax.resource.ResourceException: javax.ejb.EJBException: nested exception is: com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Exception in XAResource.end.
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.internalAfterDelivery(MessageEndpointImpl.java:255)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.afterDelivery(MessageEndpointImpl.java:229)
at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:109)
at com.sun.proxy.$Proxy534.afterDelivery(Unknown Source)
at com.sap.jms.resourceadapter.RaServerSession.run(RaServerSession.java:144)
at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:410)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: javax.ejb.EJBException: nested exception is: com.sap.engine.services.ts.exceptions.BaseIllegalStateException: Exception in XAResource.end.
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.afterProceed(Interceptors_MessageListenerType.java:267)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.invoke(Interceptors_MessageListenerType.java:98)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_AfterDelivery.invoke(Interceptors_AfterDelivery.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Lock.invoke(Interceptors_Lock.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.internalAfterDelivery(MessageEndpointImpl.java:247)
... 8 more
XAException occurred during com.sap.jms.client.session.JMSXAResource@4617bbcf.end(). Returned status is XAER_PROTO.
[EXCEPTION]
javax.transaction.xa.XAException
at com.sap.jms.client.session.JMSXASession.xaEnd(JMSXASession.java:422)
at com.sap.jms.client.session.JMSXAResource.end(JMSXAResource.java:58)
at com.sap.engine.services.ts.jta.impl2.XAResourceWrapper.delistResource(XAResourceWrapper.java:137)
at com.sap.engine.services.ts.jta.impl2.TXR_TransactionImpl.delistResource(TXR_TransactionImpl.java:333)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.afterProceed(Interceptors_MessageListenerType.java:234)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.invoke(Interceptors_MessageListenerType.java:98)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_AfterDelivery.invoke(Interceptors_AfterDelivery.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Lock.invoke(Interceptors_Lock.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.internalAfterDelivery(MessageEndpointImpl.java:247)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.afterDelivery(MessageEndpointImpl.java:229)
at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:109)
at com.sun.proxy.$Proxy534.afterDelivery(Unknown Source)
at com.sap.jms.resourceadapter.RaServerSession.run(RaServerSession.java:144)
at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:410)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
MDBProxyInvocationHandler.invoke(), MessageListenerMethod: false, MessageEndPointMethod: true, Old exception(if any): null, Error occurred during invocation:
[EXCEPTION]
javax.resource.ResourceException
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.internalAfterDelivery(MessageEndpointImpl.java:256)
at com.sap.engine.services.ejb3.runtime.impl.MessageEndpointImpl.afterDelivery(MessageEndpointImpl.java:229)
at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:109)
at com.sun.proxy.$Proxy534.afterDelivery(Unknown Source)
at com.sap.jms.resourceadapter.RaServerSession.run(RaServerSession.java:144)
at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:410)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecu