简体   繁体   中英

How to change the default data-source in activiti BPM?

I would like to change the default data-source to oracle. So as per the user guide another database the db.properties in the WEB-INF/classes of the Activiti Explorer web application should be changed if i change the db.properties again i need to create .war file, correct ? How to i create the activiti-explorer.war file ? Or Is there any options for change it from explorer ? Please advise

I dont know the Activiti Explorer well, but you can build your war file from the activity sources. Its a simple maven project and should be quite easy.

Have a look to the Activiti Documentation here: http://docs.codehaus.org/display/ACT/Developers+Guide#DevelopersGuide-Buildingthedistribution

BTW: I use Activiti embedded to spring framework using the spring-activiti extension... works like a charm.

No need to create WAR again you just put your war in server(tomcat or any other server) and start the server then it will generate an application folder parallel to war file in web-apps folder.

Change the db.properties in application folder generated in web-apps and restart the server. changes in db.properties will reflect in web application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM