Hi
I am getting Exception while CMT is trying to rolled back transaction on my MDB method onMessage().
I am doing non-functional
testing so that I have remove the output queue JNDI name.
I am getting this error:
####<May 31, 2007 9:01:11 AM GMT+05:30> <Notice> <WebLogicServer> <guptalap> <myserver> <main> <<WLS Kernel>> <> <BEA-000327> <Starting WebLogic Admin Server "myserver" for domain "PMTC_DOMAIN">
####<May 31, 2007 9:01:11 AM GMT+05:30> <Notice> <Security> <guptalap> <myserver> <main> <<WLS Kernel>> <> <BEA-090082> <Security initializing using security realm myrealm.>
####<May 31, 2007 9:01:26 AM GMT+05:30> <Notice> <WebLogicServer> <guptalap> <myserver> <main> <<WLS Kernel>> <> <BEA-000360> <Server started in RUNNING mode>
####<May 31, 2007 9:01:26 AM GMT+05:30> <Notice> <WebLogicServer> <guptalap> <myserver> <ListenThread.Default> <<WLS Kernel>> <> <BEA-000355> <
Thread "ListenThread.Default" listening on port 7001, ip address *.*>
####<May 31, 2007 9:04:14 AM GMT+05:30> <Error> <JTA> <guptalap> <myserver> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <BEA1-000105EF8BC5858F896A> <BEA-110412> <Xid=BEA1-000105EF8BC5858F896A(14046248),Status=Rolled back. [Reason=Unknown],HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=12,seconds left=3587,activeThread=Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default'],XAServerResourceInfo[JMS_PMTCJDBCMessageStore]=(ServerResourceInfo[JMS_PMTCJDBCMessageStore]=(state=rolledback,assigned=myserver),xar=JMS_PMTCJDBCMessageStore,re-Registered = false),XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=myserver),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@12f1ce2,re-Registered = false),SCInfo[PMTC_DOMAIN+myserver]=(state=rolledback),properties=({weblogic.jdbc=t3://16.138.53.114:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=myserver+16.138.53.114:7001+PMTC_DOMAIN+t3+, XAResources={JMS_FileStore, weblogic.jdbc.wrapper.JTSXAResourceImpl, JMS_PMTCJDBCMessageStore},NonXAResources={})],CoordinatorURL=myserver+16.138.53.114:7001+PMTC_DOMAIN+t3+) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: ORA-01013: user requested cancel of current operation
)) >
####<May 31, 2007 9:04:14 AM GMT+05:30> <Notice> <
EJB> <guptalap> <myserver> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-010014> <Error occurred while attempting to rollback transaction: javax.transaction.SystemException: Heuristic hazard: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: ORA-01013: user requested cancel of current operation
))
java.lang.Throwable: Heuristic hazard: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: ORA-01013: user requested cancel of current operation
))
at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:384)
at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:350)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:535)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2686)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
####<May 31, 2007 9:04:14 AM GMT+05:30> <Warning> <EJB> <guptalap> <myserver> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
javax.ejb.EJBException: nested exception is: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: javax.naming.NameNotFoundException: Unable to resolve 'pmtc.jms.fasQueue' Resolved pmtc.jms; remaining name 'fasQueue'.
java.lang.Throwable: nested exception is: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: javax.naming.NameNotFoundException: Unable to resolve 'pmtc.jms.fasQueue' Resolved pmtc.jms; remaining name 'fasQueue'
at com.hp.tdc.pmtc.business.ejb.TTMessageBean.onMessage(TTMessageBean.java:232)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2686)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
####<May 31, 2007 9:04:55 AM GMT+05:30> <Warning> <EJB> <guptalap> <myserver> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
javax.ejb.EJBException: nested exception is: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: ServiceLocatorException:CaseID already present in PMTC DBORA-00001: unique constraint (PMTC_USER.SYS_C003085) violated
.
java.lang.Throwable: nested exception is: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: ServiceLocatorException:CaseID already present in PMTC DBORA-00001: unique constraint (PMTC_USER.SYS_C003085) violated
at com.hp.tdc.pmtc.business.ejb.TTMessageBean.onMessage(TTMessageBean.java:232)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2686)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
####<May 31, 2007 9:05:22 AM GMT+05:30> <Error> <JTA> <guptalap> <myserver> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <BEA1-000305EF8BC5858F896A> <BEA-110412> <Xid=BEA1-000305EF8BC5858F896A(352159),Status=Rolled back. [Reason=Unknown],HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=27,seconds left=3573,activeThread=Thread[ExecuteThread: '14' for queue: 'weblogic.kernel.Default',5,Thread Group for Queue: 'weblogic.kernel.Default'],XAServerResourceInfo[JMS_PMTCJDBCMessageStore]=(ServerResourceInfo[JMS_PMTCJDBCMessageStore]=(state=rolledback,assigned=myserver),xar=JMS_PMTCJDBCMessageStore,re-Registered = false),XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=rolledback,assigned=myserver),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@c8e08f,re-Registered = false),SCInfo[PMTC_DOMAIN+myserver]=(state=rolledback),properties=({weblogic.jdbc=t3://16.138.53.114:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=myserver+16.138.53.114:7001+PMTC_DOMAIN+t3+, XAResources={JMS_FileStore, weblogic.jdbc.wrapper.JTSXAResourceImpl, JMS_PMTCJDBCMessageStore},NonXAResources={})],CoordinatorURL=myserver+16.138.53.114:7001+PMTC_DOMAIN+t3+) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: ORA-01013: user requested cancel of current operation
)) >
####<May 31, 2007 9:05:22 AM GMT+05:30> <Notice> <EJB> <guptalap> <myserver> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-010014> <Error occurred while attempting to rollback transaction: javax.transaction.SystemException: Heuristic hazard: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: ORA-01013: user requested cancel of current operation
))
java.lang.Throwable: Heuristic hazard: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: ORA-01013: user requested cancel of current operation
))
at weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:384)
at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:350)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:535)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2686)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
####<May 31, 2007 9:05:22 AM GMT+05:30> <Warning> <EJB> <guptalap> <myserver> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
javax.ejb.EJBException: nested exception is: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: javax.naming.NameNotFoundException: Unable to resolve 'pmtc.jms.fasQueue' Resolved pmtc.jms; remaining name 'fasQueue'.
java.lang.Throwable: nested exception is: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: com.hp.tdc.pmtc.business.helpers.PMTCException: javax.naming.NameNotFoundException: Unable to resolve 'pmtc.jms.fasQueue' Resolved pmtc.jms; remaining name 'fasQueue'
at com.hp.tdc.pmtc.business.ejb.TTMessageBean.onMessage(TTMessageBean.java:232)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2686)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
Pl guide me to solve this problem.
Thanks
Manish