cancel
Showing results for 
Search instead for 
Did you mean: 

Loosing process instance

activitiuser01
Champ in-the-making
Champ in-the-making
Hi,

I'm using java api to create a new process instance.
In order to monitore what happened when my Tomcat crashes, I decided to stop and restart my webServer.
When I'm coming back to activiti-explorer, after restart, I can't retrieve my instance

Do you have any idea?

Thanks.
4 REPLIES 4

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Do you use in memory database configuration?

Regards
Martin

activitiuser01
Champ in-the-making
Champ in-the-making
No. I'm using a mariadb database.

Regards

activitiuser01
Champ in-the-making
Champ in-the-making
For more precision, it seems that thé crurent task is complete when m'y tomcat stop. In history table i can see the end status and the date of completion.

But I don't know the reason of this.

martin_grofcik
Confirmed Champ
Confirmed Champ
Could you create jUnit test for this case?
http://forums.activiti.org/content/sticky-how-write-unit-test

Regards
Martin