AnsweredAssumed Answered

Change the H2 database doesn't work

Question asked by paco67 on Jan 20, 2015
Latest reply on Jan 26, 2015 by paco67
Hello,

I need to switch between the embedded H2 database to the persistent H2 database.

I installed and started the H2 database version 2014-04-05.

I copied activiti-explorer.war and activiti-rest.war into tomcat webapp and started to deply the apps.

I turned off tomcat and modified both db.properties as:

db=h2
jdbc.driver=org.h2.Driver
#jdbc.url=jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000
jdbc.url=jdbc:h2:tcp://10.200.14.22/activity
jdbc.username=sa
jdbc.password=

When I start Tomcat, Activiti Explorer starts but it doesn't switch to the persistent H2 db.

Any idea?

Outcomes