[jboss-user] [JBoss jBPM] - Re: How to get Pocess from server
SidKennedy
do-not-reply at jboss.com
Mon Nov 5 09:18:43 EST 2007
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
More information about the jboss-user
mailing list