After restart Activiti theres no model anymore

cancel
Showing results for 
Search instead for 
Did you mean: 
Member II

After restart Activiti theres no model anymore

Everything I created (users, models, groups...) disapear when I reestart Tomcat and Activiti. Does anybody knows what is happening?

6 Replies
Established Member II

Re: After restart Activiti theres no model anymore

HI Nil Silva ,

Of course something like that is not usual. Could you explain your problem clearer instead of 1 sentence like that? 

Please research and learn how to write a proper question on this forum.

One hint for you is have a look at your database configuration.

Thanks,

Thong

Established Member

Re: After restart Activiti theres no model anymore

Thats because activiti by default uses h2 database. Configure a different database of your choice and the data will be persisted. 

Member II

Re: After restart Activiti theres no model anymore

Nice, Hari!

I looked for your words in the Manual and it says that I have to reconfigure " db.properties in the WEB-INF/classes ", but I can't find it! Can you give-me some clue?

Established Member

Re: After restart Activiti theres no model anymore

Hi,

It will be in tomcat/webapps/web-inf/classes/

Regards,

Hari.

Intermediate

Re: After restart Activiti theres no model anymore

Hari is almost certainly correct.

You are using a H2 in memory database.

Depending on the version you are running, the database properties will be set in either db.properties file or activiti-app.properties. Either should be easy to find by simply searching the file system.

Thanks,
Greg

Active Member

Re: After restart Activiti theres no model anymore

There are plenty of resources available online that helps you understand activiti installation and configuration or try my Installation tutor here.