meanwhile I found out that I can connect and get the ProcessDefinitions stored 
in the DB like this:


  | JbpmConfiguration config = JbpmConfiguration.getInstance();
  | JbpmContext context = config.createJbpmContext();
  | List processes = context.getGraphSession().findLatestProcessDefinitions();
  | 

but in the third line an exception is thrown. 
anonymous wrote : 
  | java.lang.NoClassDefFoundError: org/hibernate/Session
  |     at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.openService(DbPersistenceServiceFactory.java:56)
  |     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:596)
  |     at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:537)
  |  ....
  | 

what does that mean? 

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

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

Reply via email to