cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with change from h2 to mysql for Activiti 5.14

sheing3003
Champ in-the-making
Champ in-the-making
I've followed the steps on the blog, which I found from one of the forum post.

http://blog.rehanpathan.com/change-database-from-h2-to-mysql-in-activiti/

I've changed the db.properties

db=activiti

jdbc.driver=com.mysql.jdbc.Driver

jdbc.url=jdbc:mysql://localhost:3306/activiti

jdbc.username=root

jdbc.password=root

When I login with Kermit and started a process, everything seems ok, but when I restart my computer. A bunch of tasks get started and assigned to kermit "magically". See image below:

[img]http://s24.postimg.org/mxa8jxrpt/temp.jpg[/img]

I look through the command window and there might be a problem, which I'm not sure if it's related to this or not. It says FacesServlet not found? Anyone have idea what that is? Or what causes the above problem?

no mappings of FacesServlet found. Abort initializing MyFaces
2 REPLIES 2

sheing3003
Champ in-the-making
Champ in-the-making
I've delete the database 'activiti' in mysql and tried again. And still the same result, upon startup of tomcat, these were automatically added, I've check database table "ACT_RU_EXECUTION" right after Tomcat startup (second startup after restarting), then these were added

So don't think this is added due to the FaceServlet issue, so was this for demo purpose? Or?

trademak
Star Contributor
Star Contributor
When starting the Activiti Explorer it by default generates demo data. You can turn that off by changing the demoDataGenerator bean in the activiti-standalone-context.xml file.

Best regards,