javax.transaction.RollbackException: Already marked for rollback

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. javax.transaction.RollbackException

    Already marked for rollback

    at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist()
  2. JBoss Application Server Connector
    WrapperDataSource.getConnection
    1. org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:469)
    2. org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:358)
    3. org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:490)
    4. org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:798)
    5. org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
    5 frames
  3. com.solarmetric.kodo
    EEPersistenceManager.beforeCompletion
    1. com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector.getConnection(DataSourceConnector.java:61)
    2. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnectionFromFactory(SQLExecutionManagerImpl.java:185)
    3. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnection(SQLExecutionManagerImpl.java:147)
    4. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newSQLExecutionManager(JDBCStoreManager.java:828)
    5. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.getSQLExecutionManager(JDBCStoreManager.java:714)
    6. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.begin(JDBCStoreManager.java:178)
    7. com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:692)
    8. com.solarmetric.kodo.ee.EEPersistenceManager.beforeCompletion(EEPersistenceManager.java:211)
    8 frames
  4. JBoss Transaction 7.1.0 SPI
    TransactionImpl.rollback
    1. org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1297)
    2. org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:446)
    2 frames
  5. JBoss Application Server Server
    Container.invoke
    1. org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:361)
    2. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:253)
    3. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
    4. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
    5. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    6. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    7. org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
    8. org.jboss.ejb.Container.invoke(Container.java:674)
    8 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  7. org.jboss.mx
    ReflectedMBeanDispatcher.invoke
    1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    1 frame
  8. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
    1 frame
  9. JBoss Application Server Server
    JRMPInvoker.invoke
    1. org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)
    1 frame
  10. Java RT
    TCPTransport.handleMessages
    1. sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    4. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    5. sun.rmi.transport.Transport$1.run(Transport.java:148)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    8. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    8 frames