Hello,

I am trying to understand how JBPM configuration works in the 3.1 (beta2). I am 
using the parseInputStream method passing it jbpm.cfg.xml which has   <string 
name="resource.hibernate.cfg.xml" value="/home/myhome/hibernate.cfg.xml" />
  | 
in it. However, I am getting the following exception:


  | org.hibernate.HibernateException: /home/myhome/hibernate.cfg.xml not found
  |     at 
org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:147)
  |     at 
org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:1265)
  |     at org.hibernate.cfg.Configuration.configure(Configuration.java:1287)
  |     at 
org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:89)
  |     at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:68)
  |     at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:93)
  |     at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:75)
  |     at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:79)
  |     at 
org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:182)
  |     at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:422)
  |     at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:165)
  |     at 
jpl.mipl.pgs.test.HelloWorldDbTest.saveInDB(HelloWorldDbTest.java:143)
  |     at jpl.mipl.pgs.test.HelloWorldDbTest.run(HelloWorldDbTest.java:96)
  |     at jpl.mipl.pgs.test.HelloWorldDbTest.<init>(HelloWorldDbTest.java:75)
  |     at jpl.mipl.pgs.test.HelloWorldDbTest.main(HelloWorldDbTest.java:271)
  | 
The file exists and it has right permissions set. Please tell me what I am 
doing wrong.

Thanks
Raj

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to