[jboss-user] [jBPM] - Re: How to install jBPM 5.0 on a JBoss AS

Chris Melas do-not-reply at jboss.com
Tue May 3 09:31:56 EDT 2011


Chris Melas [http://community.jboss.org/people/melc] created the discussion

"Re: How to install jBPM 5.0 on a JBoss AS"

To view the discussion, visit: http://community.jboss.org/message/603218#603218

--------------------------------------------------------------
I'm glad everything worked fine so far  :) 

In order to change the persistence of jbpm from h2 to some other data source you need to change the values of the jdbc driver, dialect, jdbc connection url,username, password within testDS1-ds.xml and the persistence.xml, hibernate.cfg.xml files found in the following files,

1. jbpm-human-task-5.xxxx.jar (inside META-INF)
2. jbpm-bam-5.xxxx.jar
3. jbpm-gwt-console-server-5.xxxx.war (WEB-INF/classes/META-INF)
4. testDS1-ds.xml after installation is located in jboss (i.e. /jboss-5.1.0.GA/server/default/deploy/testDS1-ds.xml).


p.s.1 After the installation you'll have to replace these jar files after you've changed their persistence.xml and hibernate.cfg.xml, within the runtime folder that has been created and within the jbpm-gwt-console-server.war that is deployed in jboss (i.e. /jboss-5.1.0.GA/server/default/deploy/).

p.s.2 you might want to comment out after the first run the <property name="hbm2ddl.auto">create</property> found inside persistence and hibernate files ,  since this property will recreate the db each time jbpm and the human task are restarted, in other words all data persisted in the jbpm db tables will be deleted.

p.s.3 if you use console reporting the birt reports will also have to be edited to point to the new datasource
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/603218#603218]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110503/7600ba53/attachment-0001.html 


More information about the jboss-user mailing list