AnsweredAssumed Answered

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

Question asked by erny18031 on Feb 9, 2012

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 file, much the same method used for Activiti-Explorer. So I updated the ant job to create the same file for the REST API (activiti-webapp-rest2) as for Activiti-Explorer.

Github patch:

If you want to use postgres, you might be interested also in this patch (postgresql pom dependencies):

I would be thankful for any suggestions / corrections.