AnsweredAssumed Answered

Remove hardcoded H2 DB from activiti.cfg.xml in REST API

Question asked by erny18031 on Feb 9, 2012
Hi.

We found that the H2 DB is hardcoded in the REST interface (activiti.cfg.xml). Thanks to the excellent documentation, I was able to use activiti-context.xml which reads DB properties from db.properties file, much the same method used for Activiti-Explorer. So I updated the ant job to create the same db.properties file for the REST API (activiti-webapp-rest2) as for Activiti-Explorer.

JIRA: http://jira.codehaus.org/browse/ACT-948?focusedCommentId=291258#comment-291258
Github patch: https://github.com/erny/activiti/commit/7236ffaabd98c646a7c16792efb774fef61c0797

If you want to use postgres, you might be interested also in this patch (postgresql pom dependencies):
https://github.com/erny/activiti/commit/c7396b815904a7e1b6a89cced81b8231fef1eb11

I would be thankful for any suggestions / corrections.

Regards.
Erny

Outcomes