cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent Activiti Explorer from resetting the DB

thiagarajan
Champ in-the-making
Champ in-the-making
I created new roles and users. Then logged out and logged in using the user which i created. It worked perfectly. Then i stopped the server and updated the engine.properties file with

create.demo.users=false

Then started the server. But I was not able to login. Whenever i bounce the server the database is being reset with default values. How to prevent database from resetting the DB with default values.
2 REPLIES 2

hari
Star Contributor
Star Contributor
Hi,

Activiti uses an in memory h2 database. The changes will not be persisted. You can change the db.properties file to point to a db of your choice and by doing that, you will not run into this issue again.

thiagarajan
Champ in-the-making
Champ in-the-making
Thank you for the information. Let me try and let you know.