AnsweredAssumed Answered

Can't add h2 database

Question asked by waltermeier on May 23, 2016
Latest reply on May 31, 2016 by jbarrez
I know it may sound silly, but I can't for the life of me get activiti to connect to an h2 databse, running on my local machine.

I downloaded h2 from http://www.h2database.com/html/main.html and ran it with default settings. I could connect to the default server database (jdbc:h2:tcp://localhost/~/test) just fine.

But when I try to modify the db.properties file of activiti (that's running on tomcat port 8090) and then try to open localhost:8090/activiti-explorer, I either get a 404 error or just make Tomcat8.exe go into an infinite loop, forcing me to kill the process.

I tried all kinds of different ways of specifying the h2 database link in db.properties, like:

jdbc.url=jdbc:h2:tcp://localhost/~/test

jdbc.url=jdbc:h2:tcp://localhost:8082/~/test

jdbc.url=jdbc:h2:tcp://localhost/test

jdbc.url=jdbc:h2:tcp://localhost:8082/test


Anyone have an idea on what I'm doing wrong?

Outcomes