Topic
1 reply Latest Post - ‏2009-02-01T19:59:19Z by chandratondepu
chandratondepu
chandratondepu
2 Posts
ACCEPTED ANSWER

Pinned topic TransactionRolledBackException when creating identity in TIM from a MDB?

‏2009-01-27T22:31:38Z |
Hello - We are using a MessageDrivenBean to get data from the System of Record to create identities for the Users in TIM. The MDB is using the container managed persistence, with transaction "Required" we see that the User profile information going into the seperate logging database we have, however the TIM identity is not created.

This is the stack trace we are getting, any help is appreciated.

1/27/09 15:00:19:696 EST 00000046 ApplicationMg A WSVR0217I: Stopping application: CIAMComponent
1/27/09 15:00:20:180 EST 00000043 SystemOut O 2009-01-27 15:00:20,180 Thread-124 ERROR Worker.run:81 - Exception occurred during worker threadcom.ibm.itim.apps.ApplicationException: standardException.transactionRolledBackException

*Exception in MessageListener**:
1/27/09 15:01:13:691 EST 0000001a SystemErr R javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.websphere.csi.CSITransactionRolledbackException:
com.ibm.websphere.csi.CSITransactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:769)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:181)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3876)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:107)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:242)
at com.tibco.tibjms.TibjmsSession._submit(TibjmsSession.java:2775)
at com.tibco.tibjms.TibjmsSession._dispatchAsyncMessage(TibjmsSession.java:1413)
at com.tibco.tibjms.TibjmsSession._run(TibjmsSession.java:2454)
at com.tibco.tibjms.TibjmsSession.run(TibjmsSession.java:3336)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:967)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:891)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:483)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.websphere.csi.CSITransactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:769)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:181)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3876)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:107)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:242)
at com.tibco.tibjms.TibjmsSession._submit(TibjmsSession.java:2775)
at com.tibco.tibjms.TibjmsSession._dispatchAsyncMessage(TibjmsSession.java:1413)
at com.tibco.tibjms.TibjmsSession._run(TibjmsSession.java:2454)
at com.tibco.tibjms.TibjmsSession.run(TibjmsSession.java:3336)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:967)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:891)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:483)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
Caused by: com.ibm.websphere.csi.CSITransactionRolledbackException:
... 15 more

1/27/09 15:01:13:691 EST 0000001a SystemErr R com.ibm.websphere.csi.CSITransactionRolledbackException:
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:769)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:181)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3876)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:107)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:242)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.tibco.tibjms.TibjmsSession._submit(TibjmsSession.java:2775)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.tibco.tibjms.TibjmsSession._dispatchAsyncMessage(TibjmsSession.java:1413)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.tibco.tibjms.TibjmsSession._run(TibjmsSession.java:2454)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.tibco.tibjms.TibjmsSession.run(TibjmsSession.java:3336)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:967)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:891)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:483)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
1/27/09 15:01:13:691 EST 0000001a SystemErr R javax.ejb.TransactionRolledbackLocalException: ; nested exception is: com.ibm.websphere.csi.CSITransactionRolledbackException:
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:769)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:181)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3876)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:107)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:242)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.tibco.tibjms.TibjmsSession._submit(TibjmsSession.java:2775)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.tibco.tibjms.TibjmsSession._dispatchAsyncMessage(TibjmsSession.java:1413)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.tibco.tibjms.TibjmsSession._run(TibjmsSession.java:2454)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.tibco.tibjms.TibjmsSession.run(TibjmsSession.java:3336)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:967)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:891)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:483)
1/27/09 15:01:13:691 EST 0000001a SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
1/27/09 15:01:13:691 EST 0000001a SystemErr R Caused by: com.ibm.websphere.csi.CSITransactionRolledbackException:
at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:769)
at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:181)
at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:581)
at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:3876)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:107)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:132)
at com.ibm.ejs.jms.listener.MDBWrapper.onMessage(MDBWrapper.java:242)
at com.tibco.tibjms.TibjmsSession._submit(TibjmsSession.java:2775)
at com.tibco.tibjms.TibjmsSession._dispatchAsyncMessage(TibjmsSession.java:1413)
at com.tibco.tibjms.TibjmsSession._run(TibjmsSession.java:2454)
at com.tibco.tibjms.TibjmsSession.run(TibjmsSession.java:3336)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:967)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:891)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:483)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)

1/27/09 15:01:13:691 EST 0000001a SystemErr R ... 15 more
Updated on 2009-02-01T19:59:19Z at 2009-02-01T19:59:19Z by chandratondepu
  • chandratondepu
    chandratondepu
    2 Posts
    ACCEPTED ANSWER

    Re: TransactionRolledBackException when creating identity in TIM from a MDB?

    ‏2009-02-01T19:59:19Z  in response to chandratondepu
    We have set the transaction to NOT_SUPPORTED. With that the whole transaction is through.

    And we have Container acknowledging the messages in the right manner.