I have downloaded 3.1.3. It works fine now. Below are the steps I have followed.
1. Download Jbpm 3.1.3 complete kit from the location.
http://sourceforge.net/projects/jbpm/files/
2.get <kit 3.1.3> jbpm-server\server\jbpm\deploy jbpm.war and jbpm.sar copy them to
Jboss.4.0.5\default\deploy folder.
3. start the server with run.bat
4. Hitting the hibernate configuration error .
org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1418)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1352)
at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:90)
at
org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:68)
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.getMessagingSession(DbPersistenceService.java:235)
at org.jbpm.JbpmContext.getMessagingSession(JbpmContext.java:521)
at org.jbpm.msg.db.DbMessageService.(DbMessageService.java:49)
at org.jbpm.msg.db.DbMessageServiceFactory.openService(DbMessageServiceFactory.java:32)
at org.jbpm.svc.Services.getService(Services.java:136)
at org.jbpm.svc.Services.getMessageService(Services.java:172)
at
org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExecutorThread.java:112)
at org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.java:79)
Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory Nested exception:
org.dom4j.DocumentFactory
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1408)
... 14 more
5. I have removed the dom4j-1.6.1 from the jbpm.war file and redeployed again.
6. start the server with run.bat.
Now the server started successfully with jbpm examples.
[ Show ]
Nageswara Rao Chilakala added a comment - 22/Jul/09 02:32 AM - Visible to jira-users I
have also tried with the Jbpm 3.1.2 . I was hitting the below exception. I have downloaded
3.1.3. It works fine now. Below are the steps I have followed. 1. Download Jbpm 3.1.3
complete kit from the location.
http://sourceforge.net/projects/jbpm/files/ 2.get <kit
3.1.3> jbpm-server\server\jbpm\deploy jbpm.war and jbpm.sar copy them to
Jboss.4.0.5\default\deploy folder. 3. start the server with run.bat 4. Hitting the
hibernate configuration error . org.hibernate.HibernateException: Could not parse
configuration: hibernate.cfg.xml at
org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1418) at
org.hibernate.cfg.Configuration.configure(Configuration.java:1352) at
org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:90) at
org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:68)
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.getMessagingSession(DbPersistenceService.java:235)
at org.jbpm.JbpmContext.getMessagingSession(JbpmContext.java:521) at
org.jbpm.msg.db.DbMessageService.(DbMessageService.java:49) at
org.jbpm.msg.db.DbMessageServiceFactory.openService(DbMessageServiceFactory.java:32) at
org.jbpm.svc.Services.getService(Services.java:136) at
org.jbpm.svc.Services.getMessageService(Services.java:172) at
org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExecutorThread.java:112)
at org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.java:79) Caused
by: org.dom4j.DocumentException: org.dom4j.DocumentFactory Nested exception:
org.dom4j.DocumentFactory at org.dom4j.io.SAXReader.read(SAXReader.java:484) at
org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1408) ... 14 more 5. I have
removed the dom4j-1.6.1 from the jbpm.war file and redeployed again.
6. start the server with run.bat. Now the server started successfully with jbpm examples.
Please contact me if you have any deployment issues with Jbpm 3.1.3 and Jboss 4.0.5
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245187#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...