AnsweredAssumed Answered

Changing DB to mysql does not

Question asked by tulipneo on Jun 6, 2013
Latest reply on Jun 10, 2013 by jbarrez
Hi List,
I am learning now Activiti.
I tried to change the DB from h2 to mysql and get exception upon restarting the apache server.
The logs are as bellow:

INFO: Deploying web application archive D:\tomcat\webapps\activiti-explorer.war
Jun 06, 2013 5:30:25 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Jun 06, 2013 5:30:25 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/activiti-explorer] startup failed due to previous errors
Jun 06, 2013 5:30:25 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/activiti-explorer] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@b16fbd]) and a value of type [org.apache.ibatis.executor.ErrorContext] (value [
### The error may exist in org/activiti/db/mapping/entity/EventSubscription.xml
### The error occurred while processing mapper_resultMap[compensateResultMap]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

My Db.properties entry is as bellow

db=mysql
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/activiti
jdbc.username=activiti
jdbc.password=activiti

i read from forum to put connector to activiti/libs

I have tomcat server and activiti in same level.
I have deployed both explorer and rest war to tomcat webapps folder.
Pls help n advice.

Br
Tulip




Outcomes