javax.transaction.RollbackException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Tested with latest nightly. 1) Have custom chunk checkpoint algorithm and start the job. Issue --> Exception thrown. Looks like persistent issue Logs: [2013-04-05T22:23:22.250+0530] [glassfish 4.0] [SEVERE] [poolmgr.component_register_exception] [javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.rm] [tid: _ThreadID=176 _ThreadName=concurrent/__defaultManagedExecutorService-managedThreadFactory-Thread-5] [timeMillis: 1365180802250] [levelValue: 1000] [[ RAR5029:Unexpected exception while registering component javax.transaction.RollbackException at com.sun.jts.jta.TransactionImpl.registerSynchronization(TransactionImpl.java:305) at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.startJTSTx(JavaEETransactionManagerSimplified.java:439) at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.enlistLAOResource(JavaEETransactionManagerJTSDelegate.java:318) at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.enlistResource(JavaEETransactionManagerSimplified.java:356) at com.sun.enterprise.resource.rm.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:152) at com.sun.enterprise.resource.rm.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:112) at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:211) at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:354) at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:196) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:171) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:166) at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:114) at com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl.getConnection(JDBCPersistenceManagerImpl.java:310) at com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl.queryCheckpointData(JDBCPersistenceManagerImpl.java:408) at com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl.updateCheckpointData(JDBCPersistenceManagerImpl.java:289) at com.ibm.jbatch.container.persistence.CheckpointManager.checkpoint(CheckpointManager.java:132) at com.ibm.jbatch.container.impl.ChunkStepControllerImpl.invokeChunk(ChunkStepControllerImpl.java:596) at com.ibm.jbatch.container.impl.ChunkStepControllerImpl.invokeCoreStep(ChunkStepControllerImpl.java:652) at com.ibm.jbatch.container.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:134) at com.ibm.jbatch.container.impl.JobControllerImpl.doExecutionLoop(JobControllerImpl.java:332) at com.ibm.jbatch.container.impl.JobControllerImpl.executeJob(JobControllerImpl.java:122) at com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:79) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:246) ]] [2013-04-05T22:23:22.265+0530] [glassfish 4.0] [WARNING] [] [com.ibm.jbatch.container.impl.BatchletStepControllerImpl] [tid: _ThreadID=176 _ThreadName=concurrent/__defaultManagedExecutorService-managedThreadFactory-Thread-5] [timeMillis: 1365180802265] [levelValue: 900] [[ Caught exception executing step: com.ibm.jbatch.container.exception.BatchContainerServiceException: com.ibm.jbatch.container.exception.BatchContainerServiceException: Cannot persist the checkpoint data for [prepare]
    via by arunkumar_s,
    • javax.transaction.RollbackException at com.sun.jts.jta.TransactionImpl.registerSynchronization(TransactionImpl.java:305) at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.startJTSTx(JavaEETransactionManagerSimplified.java:439) at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.enlistLAOResource(JavaEETransactionManagerJTSDelegate.java:318) at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.enlistResource(JavaEETransactionManagerSimplified.java:356) at com.sun.enterprise.resource.rm.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:152) at com.sun.enterprise.resource.rm.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:112) at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:211) at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:354) at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:196) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:171) at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:166) at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:114) at com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl.getConnection(JDBCPersistenceManagerImpl.java:310) at com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl.queryCheckpointData(JDBCPersistenceManagerImpl.java:408) at com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl.updateCheckpointData(JDBCPersistenceManagerImpl.java:289) at com.ibm.jbatch.container.persistence.CheckpointManager.checkpoint(CheckpointManager.java:132) at com.ibm.jbatch.container.impl.ChunkStepControllerImpl.invokeChunk(ChunkStepControllerImpl.java:596) at com.ibm.jbatch.container.impl.ChunkStepControllerImpl.invokeCoreStep(ChunkStepControllerImpl.java:652) at com.ibm.jbatch.container.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:134) at com.ibm.jbatch.container.impl.JobControllerImpl.doExecutionLoop(JobControllerImpl.java:332) at com.ibm.jbatch.container.impl.JobControllerImpl.executeJob(JobControllerImpl.java:122) at com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:79) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:246)
    No Bugmate found.