cancel
Showing results for 
Search instead for 
Did you mean: 

My apps and changes are deleted on restart of apache tomcat

skenguva
Champ in-the-making
Champ in-the-making
Hi

I have setup Activiti 6 on my maching.
I logged in as administrator, created apps, users, organisations successfully.
When I logout, restart tomcat, all my previously done changes are lost. The activiti 6 now is all new.

Please suggest how can I save my changes? I have removed the activiti-app.war from webapps folder to ensure this is not because of redeployment.

Thanks,
Santosh
3 REPLIES 3

skenguva
Champ in-the-making
Champ in-the-making
My DB configuration is as follows:

datasource.driver=org.h2.Driver
datasource.url=jdbc:h2:mem:activiti
datasource.username=sa
datasource.password=

hibernate.dialect=org.hibernate.dialect.H2Dialect

sibok666
Champ in-the-making
Champ in-the-making
You have to go and search a persistence xml, or hibernate config .xml, you have to modify on each start recreate the database.

walkhadher
Champ in-the-making
Champ in-the-making
Maybe your h2 database set at in-memory mode , check your h2 conflagration there in no need to change hibernate , I use Mysql and it's work fine