AnsweredAssumed Answered

Activit Version 5.2 with MySQL Exception at tomcat.start

Question asked by rberla on Feb 22, 2011
Latest reply on Feb 22, 2011 by rberla
Hello

I am setting up Activiti 5.2 locally. I switched the db from h2 to MySQL following the instructions in the manual. At starting up of tomcat I get a PersistenceException.

SCHWERWIEGEND: Error while closing command context
org.apache.ibatis.exceptions.PersistenceException:
### Error opening session.  Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
Connection is broken: "session closed" [90067-132]
### The error may exist in org/activiti/db/ibatis/variable.mapping.xml
### The error occurred while processing mapper_resultMap[byteArrayResultMap_postgres]
### Cause: org.h2.jdbc.JdbcSQLException: Verbindung ist unterbrochen: "session closed"
Connection is broken: "session closed" [90067-132]
        at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)
        at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSessionFromDataSource(DefaultSqlSessionFactory.java:81)
        at org.apache.ibatis.session.defaults.DefaultSqlSessionFactory.openSession(DefaultSqlSessionFactory.java:32)

h2 is stopped. Still tomcat seems to look for the wrong db-driver. I placed it (mysql-connector-java-5.1.15-bin.jar) into ../dependencies/libs. Any idea, what I am doing wrong?

Thanks for help
Regards
Riccardo

Outcomes