After restart Activiti theres no model anymore

cancel
Showing results for 
Search instead for 
Did you mean: 
adinilson
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
thuynh
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

hari
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. 

adinilson
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?

hari
Established Member

Re: After restart Activiti theres no model anymore

Hi,

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

Regards,

Hari.

gdharley
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

sunilkumartk
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.