cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti corrupted DB on Windows

benreich
Champ in-the-making
Champ in-the-making
Hello,

I have a strange problem.

I initialize a new standalone H2 DB on windows and then log in to activiti explorer. If I stop tomcat and restart it all is OK. But if I boot windows and then try to go into activiti explorer I get the attached log. Only killing the DB and starting from scratch gets me back to normal.

Can anyone help me?

5 REPLIES 5

jbarrez
Star Contributor
Star Contributor
What's the jdbc url your using? How are you running H2?

benreich
Champ in-the-making
Champ in-the-making
My H2 Database is standalone and I access it in the following way

<blockcode>
db=h2
jdbc.driver=org.h2.Driver
jdbc.url=jdbc:h2:tcp://localhost//users/benr/workspace/activitidb/activiti;DB_CLOSE_DELAY=1000
jdbc.username=sa
jdbc.password=
</blockcode>

Thanks,

Ben

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Ben,

Is you DB started after win restart?

Regards
Martin

benreich
Champ in-the-making
Champ in-the-making
Hello and thanks for your help. Any idea on how I can start h2 at windows startup? I cannot find any way of doing that apart from openning the console by manually

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Ben,

search on H2 forum. I really do not know.

Regards
Martin