1 Reply Latest reply on Jan 6, 2005 6:28 AM by Alexey Loubyansky

    TransactionRolledbackException  + JBossRollbackException

    saman Perera Newbie


      Hi all

      This is the error the server gave to me when i am going to add data to the master and its related table , all the constratins are created in oracle
      but can not inserted the data to table


      11:38:21,014 INFO [STDOUT] 5469853 [RMI TCP Connection(100)-192.168.10.237] ERROR org.jboss.ejb.plugins.LogInterceptor
      - TransactionRolledbackException in method: public abstract java.lang.String lk.informatics.infoenterprise.infosales.bu
      sinessmodel.sessionfacade.presales.PreSalesFacade.addInquirySlip(lk.informatics.infoenterprise.infosales.businessmodel.d
      to.InquirySlipDTO) throws lk.informatics.infoenterprise.general.util.ApplicationException,lk.informatics.infoenterprise.
      general.util.ApplicationExceptionList,java.rmi.RemoteException, causedBy:
      org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=saman//3440, B
      ranchQual=] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.ejb.EJBException: Update failed. Expected one affec
      ted row: rowsAffected=0, id=0)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:415)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:456)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:324)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
      at org.jboss.ejb.Container.invoke(Container.java:723)
      at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      Thaning you
      Saman