Great, it's seems to be that.

I think my hibernate.cfg.xml overide the default hibernate.cfg.xml of jbpm :)

The exception change, and I think it's the end of the problem.

runtime exception while executing timers
  | org.hibernate.HibernateException: Could not instantiate cache implementation
  |     at org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:64)
  |     at 
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:214)
  |     at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1291)
  |     at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
  |     at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
  |     at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:78)
  |     at 
org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPersistenceService.java:244)
  |     at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
  |     at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:103)
  |     at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
  | Caused by: org.hibernate.cache.NoCachingEnabledException: Second-level 
cache is not enabled for usage [hibernate.cache.use_second_level_cache | 
hibernate.cache.use_query_cache]
  |     at 
org.hibernate.cache.NoCacheProvider.buildCache(NoCacheProvider.java:21)
  |     at org.hibernate.cache.CacheFactory.createCache(CacheFactory.java:61)
  |     ... 9 more

I will try to find it (but you can still respond, your knowledge seems more 
structured than those I found :) ) Thanks for all, it's so pleasant, even if 
the scheduler don't yet work, to see all this mapping collection success 
message :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999552#3999552

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999552
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to