1 Reply Latest reply on Oct 24, 2007 3:36 AM by Bernard Le Roy

    org.jboss.tm.JBossTransactionRolledbackException

    Bernard Le Roy Newbie

      Good morning,

      I have an application deployed in Jboss, the access to postgres DB is succeful. The requests GET are succeful again.

      But when I tray to execute one UPDATE Request (ex: update the lastname of an user), I have this message :

      /******************************************************/
      org.jboss.tm.JBossTransactionRolledbackException: null; nested exception is:
      javax.ejb.EJBException: Store failed; CausedByException is:
      ERREUR: La transaction courante est annul øe, les commandes sont ignor øes jusqu' á la fon du bloc de la transaction
      ; - nested throwable: (javax.ejb.EJBException: Store failed; CausedByException is:
      ERREUR: La transaction courante est annul øe, les commandes sont ignor øes jusqu' á la fon du bloc de la transaction
      )
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:390)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:247)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:98)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:208)
      at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      at org.jboss.ejb.Container.invoke(Container.java:738)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:383)
      at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      at sun.rmi.transport.Transport$1.run(Transport.java:148)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: javax.ejb.EJBException: Store failed; CausedByException is:
      ERREUR: La transaction courante est annul øe, les commandes sont ignor øes jusqu' á la fon du bloc de la transaction

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:94)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:589)
      at org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:458)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:388)
      at org.jboss.ejb.GlobalTxEntityMap.synchronizeEntities(GlobalTxEntityMap.java:134)
      at org.jboss.ejb.GlobalTxEntityMap$GlobalTxEntityMapCleanup.beforeCompletion(GlobalTxEntityMap.java:193)
      at org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1416)
      at org.jboss.tm.TxCapsule.commit(TxCapsule.java:368)
      at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:73)
      at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:365)
      ... 18 more
      /********************************************************/

      Can you help me,
      Thanks.