cancel
Showing results for 
Search instead for 
Did you mean: 

When I restart the tomcat server all the processes that I created are deleted.

andresrianosuar
Champ in-the-making
Champ in-the-making
When I restart the tomcat server or the pc all the processes that I created are deleted.

Why is this happening? And how may I restart the pc without the processes that I created are deleted.

Thanks of advance.
2 REPLIES 2

vasile_dirla
Star Contributor
Star Contributor
Hi,
Read the Activiti user guide "3.3. Database configuration"
pay attention to:
"databaseSchemaUpdate" parameter.
if you use "create-drop" the schema will be created when the process engine is being created and drops the schema when the process engine is being closed.

potitius
Champ in-the-making
Champ in-the-making
Try to modify db.properties under classess/WEB-INF by deleting " mem "
<code>jdbc.url=jdbc:h2:activiti;DB_CLOSE_DELAY=1000</code>