3 Replies Latest reply on Oct 14, 2015 4:51 PM by rveron

    JBPM Error After Migrating to WildFly 8.2.0.(Hibernate 4.2.0/4.0.1 Seam 2.3.1)

    sreenathac

      I have migrated my application from JBoss 5.1.0 GA to WildFly 8.2.0. As part of this I migrated some of the tachnologies in my application.

       

      Seam 2.2.0 to 2.3.1

      Hibernate 3.3.0 to 4.2.0/4.0.1(I have tried with both the version and getting the same error)

      JBPM: jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2

       

      While starting the WildFly server read the hibernate.cfg.hml file without any errors and server started successfully.

      When I tried to run a scheduled job from application, I am getting below Errors at scheduled time(Assuming Job was triggered at scheduled time, but thrown an exception immediately).

       

      18:20:00,018 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-1) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,028 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-1) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,051 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-1) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,066 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-3) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,088 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-3) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,093 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-3) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,134 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-2) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,140 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-2) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,166 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-2) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,381 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-4) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,473 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-4) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:00,481 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-4) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:05,532 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-5) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:05,541 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-5) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:05,545 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-5) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:05,559 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-7) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

      18:20:05,565 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-7) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,573 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-7) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,584 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-9) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,589 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-9) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,592 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-9) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,607 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-6) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,611 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-6) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,626 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-6) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,671 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-10) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,674 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-10) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,680 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-10) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,701 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-8) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,703 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-8) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:05,706 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-8) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:10,717 SEVERE [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-1) failed to execute Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:160) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:51) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:10,752 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-1) failed to save exception for Timer(onceOnlySchedule): java.lang.IllegalArgumentException: bound must be positive

        at java.util.Random.nextInt(Random.java:388) [rt.jar:1.8.0_11]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:188) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      18:20:10,771 WARNING [org.jbpm.job.executor.JobExecutorThread] (JbpmJobExecutor@172.24.55.56:Executor-1) failed to save exception for Timer(onceOnlySchedule): org.jbpm.persistence.JbpmPersistenceException: cannot honor rollback request under external transaction manager

        at org.jbpm.persistence.db.DbPersistenceService.rollback(DbPersistenceService.java:243) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:136) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:210) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.svc.Services.close(Services.java:244) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.closeServices(JbpmContext.java:156) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.JbpmContext.close(JbpmContext.java:132) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.saveJobException(JobExecutorThread.java:201) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) [jbpm-jpdl-3.2.10.SP3_seam2.jar:3.2.10.SP3_seam2]

       

       

      The below is my hibernate.cfg.xml

       

       

      <?xml version='1.0' encoding='utf-8'?>

      <!DOCTYPE hibernate-configuration PUBLIC

                "-//Hibernate/Hibernate Configuration DTD 3.0//EN"

                "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

       

       

      <hibernate-configuration>

        <session-factory>

        <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>

        <property name="show_sql">false</property>

        <property name="connection.datasource">java:jboss/datasources/projectDatasource</property>

        <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>

        <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>

            <property name="hbm2ddl.auto">none</property>

        <property name="hibernate.cache.use_second_level_cache">false</property>

        <!-- hql queries and type defs -->

        <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />

        <mapping resource="org/jbpm/db/hibernate.types.hbm.xml" />

        <!-- graph.action mapping files -->

        <mapping resource="org/jbpm/graph/action/MailAction.hbm.xml" />

        <!-- graph.def mapping files -->

        <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml" />

        <mapping resource="org/jbpm/graph/def/Node.hbm.xml" />

        <mapping resource="org/jbpm/graph/def/Transition.hbm.xml" />

        <mapping resource="org/jbpm/graph/def/Event.hbm.xml" />

        <mapping resource="org/jbpm/graph/def/Action.hbm.xml" />

        <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml" />

        <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml" />

        <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml" />

        <mapping resource="org/jbpm/graph/action/Script.hbm.xml" />

        <!-- graph.node mapping files -->

        <mapping resource="org/jbpm/graph/node/StartState.hbm.xml" />

        <mapping resource="org/jbpm/graph/node/EndState.hbm.xml" />

        <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml" />

        <mapping resource="org/jbpm/graph/node/Decision.hbm.xml" />

        <mapping resource="org/jbpm/graph/node/Fork.hbm.xml" />

        <mapping resource="org/jbpm/graph/node/Join.hbm.xml" />

        <mapping resource="org/jbpm/graph/node/MailNode.hbm.xml" />

        <mapping resource="org/jbpm/graph/node/State.hbm.xml" />

        <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml" />

        <!-- context.def mapping files -->

        <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml" />

        <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml" />

        <!-- bytes mapping files -->

        <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml" />

        <!-- module.def mapping files -->

        <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml" />

        <!-- file.def mapping files -->

        <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml" />

        <!-- taskmgmt.def mapping files -->

        <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml" />

        <!-- scheduler.def mapping files -->

        <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml" />

        <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml" />

        <!-- graph.exe mapping files -->

        <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml" />

        <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml" />

        <mapping resource="org/jbpm/graph/exe/Token.hbm.xml" />

        <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml" />

        <!-- module.exe mapping files -->

        <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml" />

        <!-- context.exe mapping files -->

        <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml" />

        <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml" />

        <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml" />

        <mapping

        resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml" />

        <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml" />

        <mapping

        resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml" />

        <mapping

        resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml" />

        <mapping

        resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml" />

        <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml" />

        <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml" />

        <mapping

        resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml" />

       

       

        <!-- job mapping files -->

        <mapping resource="org/jbpm/job/Job.hbm.xml" />

        <mapping resource="org/jbpm/job/Timer.hbm.xml" />

        <mapping resource="org/jbpm/job/ExecuteNodeJob.hbm.xml" />

        <mapping resource="org/jbpm/job/ExecuteActionJob.hbm.xml" />

        <mapping resource="org/jbpm/job/CleanUpProcessJob.hbm.xml" />

       

       

        <!-- taskmgmt.exe mapping files -->

        <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml" />

       

       

        <!-- logging mapping files -->

        <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml" />

        <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml" />

        <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml" />

        <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml" />

        <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml" />

        <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml" />

        <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml" />

        <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml" />

        <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml" />

        <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml" />

        <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml" />

        <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml" />

        <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml" />

        <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml" />

        <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml" />

        <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml" />

        <mapping

        resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml" />

        <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml" />

        <mapping

        resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml" />

        <mapping

        resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml" />

        <mapping

        resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml" />

        <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml" />

        <mapping

        resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml" />

        <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml" />

       

       

        <class-cache class="org.jbpm.context.def.VariableAccess"

        usage="nonstrict-read-write" />

       

       

        <collection-cache collection="org.jbpm.file.def.FileDefinition.processFiles"

        usage="nonstrict-read-write" />

       

       

        <collection-cache collection="org.jbpm.graph.action.Script.variableAccesses"

        usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.graph.def.Action" usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.graph.def.Event" usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.Event.actions"

        usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.graph.def.ExceptionHandler"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.ExceptionHandler.actions"

        usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.graph.def.Node" usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.Node.events"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.Node.exceptionHandlers"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.Node.leavingTransitions"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.Node.arrivingTransitions"

        usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.graph.def.ProcessDefinition"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.ProcessDefinition.events"

        usage="nonstrict-read-write" />

        <collection-cache

        collection="org.jbpm.graph.def.ProcessDefinition.exceptionHandlers"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.ProcessDefinition.nodes"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.ProcessDefinition.actions"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.ProcessDefinition.definitions"

        usage="nonstrict-read-write" />

       

       

        <collection-cache collection="org.jbpm.graph.def.SuperState.nodes"

        usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.graph.def.Transition" usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.Transition.events"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.graph.def.Transition.exceptionHandlers"

        usage="nonstrict-read-write" />

       

       

        <collection-cache collection="org.jbpm.graph.node.Decision.decisionConditions"

        usage="nonstrict-read-write" />

       

       

        <collection-cache collection="org.jbpm.graph.node.ProcessState.variableAccesses"

        usage="nonstrict-read-write" />

       

       

        <collection-cache collection="org.jbpm.graph.node.TaskNode.tasks"

        usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.instantiation.Delegation"

        usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.module.def.ModuleDefinition"

        usage="nonstrict-read-write" />

       

       

        <collection-cache collection="org.jbpm.taskmgmt.def.Swimlane.tasks"

        usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.taskmgmt.def.TaskController"

        usage="nonstrict-read-write" />

        <collection-cache

        collection="org.jbpm.taskmgmt.def.TaskController.variableAccesses"

        usage="nonstrict-read-write" />

       

       

        <class-cache class="org.jbpm.taskmgmt.def.Task" usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.taskmgmt.def.Task.events"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.taskmgmt.def.Task.exceptionHandlers"

        usage="nonstrict-read-write" />

       

       

        <collection-cache collection="org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes"

        usage="nonstrict-read-write" />

        <collection-cache collection="org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks"

        usage="nonstrict-read-write" />

        </session-factory>

      </hibernate-configuration>

       

       

      The below is the jbpm.cfg.xml

       

       

      <jbpm-configuration>

        <jbpm-context>

          <service name="persistence">

             <factory>

                <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">

                   <field name="isTransactionEnabled"><false/></field>

                </bean>

             </factory>

          </service>

          <service name="tx" factory="org.jbpm.tx.TxServiceFactory" />

          <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />

          <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />

          <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />

          <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />

        </jbpm-context>

        <string name="resource.mail.templates" value="jbpm.mail.templates.xml" />

        <string name='resource.mail.properties' value='jbpm.mail.properties' />

        <string name='jbpm.mail.from.address' value='Admin@noReply' />

        <string name='jbpm.mail.class.name' value='com.project.bpm.mail.EmailActionHandler' />

        <bean name='jbpm.mail.address.resolver' class='com.project.bpm.mail.EmailAddressResolver' singleton='true' />

         <bean name="jbpm.job.executor" class="org.jbpm.job.executor.JobExecutor">

          <field name="jbpmConfiguration"><ref bean="jbpmConfiguration" /></field>

          <field name="name"><string value="JbpmJobExecutor" /></field>

          <field name="nbrOfThreads"><int value="10" /></field>

          <field name="idleInterval"><int value="5000" /></field>

          <field name="maxIdleInterval"><int value="3600000" /></field> <!-- 1 hour -->

          <field name="historyMaxSize"><int value="20" /></field>

          <field name="maxLockTime"><int value="21600000" /></field> <!-- 6 hours -->

          <field name="lockMonitorInterval"><int value="60000" /></field> <!-- 1 minute -->

          <field name="lockBufferTime"><int value="5000" /></field> <!-- 5 seconds -->

        </bean>

      </jbpm-configuration>

       

       

      As per my understandiing and based on the information from forums we can run JBPM 3.x in hibernate 4.2.0(Bundled Jars), but when I scheduled a job(onceOnlySchedule) it is throwing the above errors and the Job status remains same.

       

       

      Please let me know if I am missing anything.