javax.transaction.RollbackException

Java.net JIRA | arunkumar_s | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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]

    Java.net JIRA | 4 years ago | arunkumar_s
    javax.transaction.RollbackException

    Root Cause Analysis

    1. javax.transaction.RollbackException

      No message provided

      at com.sun.jts.jta.TransactionImpl.registerSynchronization()
    2. Embedded GlassFish Web
      JavaEETransactionManagerSimplified.enlistResource
      1. com.sun.jts.jta.TransactionImpl.registerSynchronization(TransactionImpl.java:305)
      2. com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.startJTSTx(JavaEETransactionManagerSimplified.java:439)
      3. com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.enlistLAOResource(JavaEETransactionManagerJTSDelegate.java:318)
      4. com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.enlistResource(JavaEETransactionManagerSimplified.java:356)
      4 frames
    3. Connectors Runtime
      ConnectionManagerImpl.allocateConnection
      1. com.sun.enterprise.resource.rm.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:152)
      2. com.sun.enterprise.resource.rm.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:112)
      3. com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:211)
      4. com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:354)
      5. com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
      6. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:196)
      7. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:171)
      8. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:166)
      8 frames
    4. Embedded GlassFish Web
      AbstractDataSource.getConnection
      1. com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:114)
      1 frame
    5. com.ibm.jbatch
      BatchWorkUnit.run
      1. com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl.getConnection(JDBCPersistenceManagerImpl.java:310)
      2. com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl.queryCheckpointData(JDBCPersistenceManagerImpl.java:408)
      3. com.ibm.jbatch.container.services.impl.JDBCPersistenceManagerImpl.updateCheckpointData(JDBCPersistenceManagerImpl.java:289)
      4. com.ibm.jbatch.container.persistence.CheckpointManager.checkpoint(CheckpointManager.java:132)
      5. com.ibm.jbatch.container.impl.ChunkStepControllerImpl.invokeChunk(ChunkStepControllerImpl.java:596)
      6. com.ibm.jbatch.container.impl.ChunkStepControllerImpl.invokeCoreStep(ChunkStepControllerImpl.java:652)
      7. com.ibm.jbatch.container.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:134)
      8. com.ibm.jbatch.container.impl.JobControllerImpl.doExecutionLoop(JobControllerImpl.java:332)
      9. com.ibm.jbatch.container.impl.JobControllerImpl.executeJob(JobControllerImpl.java:122)
      10. com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:79)
      10 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3 frames
    7. org.glassfish.javax.enterprise.concurrent
      ManagedFutureTask.run
      1. org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:722)
      3 frames
    9. org.glassfish.javax.enterprise.concurrent
      ManagedThreadFactoryImpl$ManagedThread.run
      1. org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:246)
      1 frame