1 Reply Latest reply: Feb 5, 2008 5:32 AM by 843844 RSS

    WebSphere - TransactionRolledbackException

    843844
      hi,

      I have an application that uses stateless session beans and JDBC (only for queries) for database operations (I use ORACLE9.2). I also use queues to send some messages that keep track of the progress of my operations on the database. The application works fine on JBoss, but on WebSphere I get the following exception:

      org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; nested exception is:
           com.ibm.websphere.csi.CSITransactionRolledbackException: vmcid: 0x0 minor code: 0 completed: No>
      javax.transaction.TransactionRolledbackException: CORBA TRANSACTION_ROLLEDBACK 0x0 No; nested exception is:
           org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; nested exception is:
           com.ibm.websphere.csi.CSITransactionRolledbackException: vmcid: 0x0 minor code: 0 completed: No
           at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:266)
           at com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:690)
           at javax.rmi.CORBA.Util.wrapException(Util.java:296)
           at it.deltadator.risorse.rege.obiettivo.ejb.ses._ManagerObiettivoRemote_Stub.eliminazioneCalcoloPTCRaggiungimentoDestinazione(_ManagerObiettivoRemote_Stub.java:3680)
           at it.deltadator.risorse.rege.obiettivo.bd.ManagerObiettivo.eliminazioneCalcoloPTCRaggiungimentoPerDestinazione(ManagerObiettivo.java:684)
           at it.deltadator.risorse.rege.obiettivo.action.EliminaCalcoloRaggiungimentoAction$EliminaCalcoloRaggiungimentoThread.run(EliminaCalcoloRaggiungimentoAction.java:464)
      Caused by:
      org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException: ; nested exception is:
           com.ibm.websphere.csi.CSITransactionRolledbackException: vmcid: 0x0 minor code: 0 completed: No
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
           at com.ibm.rmi.util.ProxyUtil.copyObject(ProxyUtil.java:341)
           at com.ibm.CORBA.iiop.UtilDelegateImpl.copyObject(UtilDelegateImpl.java:795)
           at javax.rmi.CORBA.Util.copyObject(Util.java:333)
           at it.deltadator.risorse.rege.obiettivo.ejb.ses._ManagerObiettivoRemote_Stub.eliminazioneCalcoloPTCRaggiungimentoDestinazione(_ManagerObiettivoRemote_Stub.java:3676)
           ... 2 more
      [21.03.2007 17:24:26:968 EET] 00000051 SystemErr R 3691406 [Thread-72] ERROR action.EliminaCalcoloRaggiungimentoAction - Exception: <kere.backEndremoteError.generic>
      it.deltadator.common.ejb.BEException: kere.backEndremoteError.generic
           at it.deltadator.risorse.rege.obiettivo.bd.ManagerObiettivo.eliminazioneCalcoloPTCRaggiungimentoPerDestinazione(ManagerObiettivo.java:689)
           at it.deltadator.risorse.rege.obiettivo.action.EliminaCalcoloRaggiungimentoAction$EliminaCalcoloRaggiungimentoThread.run(EliminaCalcoloRaggiungimentoAction.java:464)


      I don't get this error if I do not use the queue (on WebSphere). Enyone have any idea why using queues generates this error?
      Also, I do not use any explicit transactions in my code. EJBs are container managed.

      Thanks