[jboss-user] [JBoss jBPM] - Re: How to retirieve Hibernate Session object in jBpm 4.0 CR

ahmy do-not-reply at jboss.com
Thu Jun 11 00:12:31 EDT 2009


Hello,
When I run the above code , I got the following exception


Exception in thread "main" org.jbpm.api.JbpmException: no environment to get org.hibernate.Session
  |         at org.jbpm.api.env.Environment.getFromCurrent(Environment.java:196)
  |         at org.jbpm.api.env.Environment.getFromCurrent(Environment.java:189)
  |         at ae.emiratesid.bpm.demos.HistoryServiceTest.main(HistoryServiceTest.java:96)
  | 
  | 

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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236877



More information about the jboss-user mailing list