[jboss-jira] [JBoss JIRA] Closed: (JBPM-754) job scheduler persistence

Tom Baeyens (JIRA) jira-events at jboss.com
Wed Nov 15 03:59:41 EST 2006


     [ http://jira.jboss.com/jira/browse/JBPM-754?page=all ]

Tom Baeyens closed JBPM-754.
----------------------------

    Resolution: Done

fixed.  this is a hibernate bug that will be fixed in hibernate 3.2.1.  We added a workaround in the JobExecutor that will do a hibernate proxy initialization that otherwised caused this problem to occur. 

> job scheduler persistence
> -------------------------
>
>                 Key: JBPM-754
>                 URL: http://jira.jboss.com/jira/browse/JBPM-754
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Core Engine
>            Reporter: Tom Baeyens
>         Assigned To: Tom Baeyens
>            Priority: Critical
>             Fix For: jBPM 3.2 alpha 2
>
>
> some unexplainable hibernate problem while trying to lock jobs for execution:
> 16:08:22,843 [main] DEBUG GraphElement : event 'task-create' on 'Task(clean ceiling)' for 'Token(/)'
> 16:08:22,875 [main] DEBUG GraphElement : executing action 'CreateTimerAction(dc9766)'
> 16:08:22,875 [main] DEBUG GraphElement : event 'timer-create' on 'Task(clean ceiling)' for 'Token(/)'
> 16:08:22,875 [main] DEBUG GraphElement : event 'after-signal' on 'StartState(979f67)' for 'Token(/)'
> 16:08:22,875 [main] DEBUG Services : executing default save operations
> 16:08:22,875 [main] DEBUG HibernateSaveOperation : saving process instance
> 16:08:22,875 [main] DEBUG SaveLogsOperation : flushing logs to logging service.
> 16:08:22,890 [main] DEBUG CascadeSaveOperation : cascading save of 'org.jbpm.graph.exe.ProcessInstance at ffd135'
> 16:08:22,890 [main] DEBUG JbpmContext : closing JbpmContext
> 16:08:22,890 [main] DEBUG Services : closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 6d2380
> 16:08:22,890 [main] DEBUG DbPersistenceService : committing hibernate transaction
> 16:08:22,890 [main] DEBUG DbPersistenceService : closing hibernate session
> 16:08:22,890 [main] DEBUG Services : closing service 'tx': org.jbpm.tx.TxService at 159780d
> 16:08:22,890 [main] DEBUG Services : closing service 'scheduler': org.jbpm.scheduler.db.DbSchedulerService at d8ca48
> 16:08:22,890 [main] DEBUG Services : closing service 'logging': org.jbpm.logging.db.DbLoggingService at c8570c
> 16:08:23,218 [main] DEBUG JobExecutor : starting thread group 'JbpmJobExector'...
> 16:08:23,218 [main] DEBUG JobExecutor : starting new job executor thread 'JbpmJobExector:192.168.1.100:1'
> 16:08:23,218 [JbpmJobExector:192.168.1.100:1] DEBUG JbpmContextInfo : creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
> 16:08:23,218 [JbpmJobExector:192.168.1.100:1] DEBUG JbpmContext : creating JbpmContext
> 16:08:23,218 [JbpmJobExector:192.168.1.100:1] DEBUG DbPersistenceServiceFactory : creating persistence service
> 16:08:23,218 [JbpmJobExector:192.168.1.100:1] DEBUG DbPersistenceService : creating hibernate session
> 16:08:23,218 [main] DEBUG AbstractDbTestCase : going to sleep for 200 millis, waiting for the job executor to process more jobs
> 16:08:23,218 [JbpmJobExector:192.168.1.100:1] DEBUG DbPersistenceService : beginning hibernate transaction
> 16:08:23,218 [JbpmJobExector:192.168.1.100:1] DEBUG JobExecutorThread : querying for acquirable job...
> 16:08:23,375 [JbpmJobExector:192.168.1.100:1] DEBUG JobExecutorThread : trying to obtain a lock for 'timer(ceiling-timer,org.jbpm.taskmgmt.exe.TaskTimerExecutionDbTest$PlusPlus,16:08:22,875)'
> 16:08:23,406 [JbpmJobExector:192.168.1.100:1] ERROR AssertionFailure : an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
> org.hibernate.AssertionFailure: collection was not processed by flush(), role=org.jbpm.taskmgmt.def.Task.events
> 	at org.hibernate.engine.CollectionEntry.postFlush(CollectionEntry.java:183)
> 	at org.hibernate.event.def.AbstractFlushingEventListener.postFlush(AbstractFlushingEventListener.java:328)
> 	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:28)
> 	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:980)
> 	at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:125)
> 	at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:54)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list