"cwad0000" wrote : have you created a scheduler and started it?
|
I just realized that it was not running (in a separate JVM, as per docs) because it was
throwing a null pointer exception. So, then I modified the source as explained in
http://jira.jboss.com/jira/browse/JBPM-315?page=comments. Now I see:
13:45:11,943 [main] DEBUG Scheduler : starting the scheduler
| 13:45:11,959 [main] INFO JbpmConfiguration : using jbpm configuration resource
'jbpm.cfg.xml'
| 13:45:11,959 [main] DEBUG JbpmConfiguration : loading defaults in jbpm configuration
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'default.jbpm.context'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.hibernate.cfg.xml'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.business.calendar'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.default.modules'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.converter'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.action.types'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.node.types'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.parsers'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.varmapping'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'jbpm.msg.wait.timout'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'jbpm.byte.block.size'
| 13:45:12,381 [main] DEBUG ObjectFactoryImpl : adding object info
'mail.smtp.host'
| 13:45:12,396 [main] DEBUG ObjectFactoryImpl : adding object info
'jbpm.task.instance.factory'
| 13:45:12,396 [main] DEBUG ObjectFactoryImpl : adding object info
'jbpm.variable.resolver'
| 13:45:12,396 [main] DEBUG ObjectFactoryImpl : adding object info
'jbpm.mail.address.resolver'
| 13:45:12,396 [main] DEBUG JbpmConfiguration : loading specific configuration...
| 13:45:12,412 [main] DEBUG ObjectFactoryImpl : adding object info
'default.jbpm.context'
| 13:45:12,412 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.business.calendar'
| 13:45:12,412 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.default.modules'
| 13:45:12,412 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.converter'
| 13:45:12,412 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.action.types'
| 13:45:12,412 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.node.types'
| 13:45:12,412 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.parsers'
| 13:45:12,412 [main] DEBUG ObjectFactoryImpl : adding object info
'resource.varmapping'
| 13:45:12,427 [main] DEBUG ObjectFactoryImpl : adding object info
'jbpm.byte.block.size'
| 13:45:12,427 [main] DEBUG ObjectFactoryImpl : adding object info
'jbpm.task.instance.factory'
| 13:45:12,427 [main] DEBUG ObjectFactoryImpl : adding object info
'jbpm.variable.resolver'
| 13:45:12,427 [main] DEBUG ObjectFactoryImpl : adding object info
'jbpm.msg.wait.timout'
| 13:45:12,459 [JbpmScheduler] DEBUG JbpmContextInfo : creating jbpm context with
service factories '[message, scheduler, logging, persistence, authentication]'
| 13:45:12,459 [JbpmScheduler] DEBUG JbpmContext : creating JbpmContext
| 13:45:12,459 [JbpmScheduler] DEBUG DbPersistenceServiceFactory : creating persistence
service
| 13:45:12,459 [JbpmScheduler] DEBUG JbpmContext : closing JbpmContext
| Exception in thread "JbpmScheduler" java.lang.NoClassDefFoundError:
org/hibernate/Session
| at
org.jbpm.persistence.db.DbPersistenceServiceFactory.openService(DbPersistenceServiceFactory.java:55)
| at org.jbpm.svc.Services.getService(Services.java:136)
| at org.jbpm.svc.Services.getPersistenceService(Services.java:175)
| at org.jbpm.JbpmContext.getPersistenceService(JbpmContext.java:594)
| at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:527)
| at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
| at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984624#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...