Search code examples
tomcatactiviti

Trouble deploying Activiti-app.war form Activiti 6 on Tomcat 9


I'm trying to deploy Activiti-app.war and activiti-rest.war from Activiti 6 onto my Tomcat Server. I configured the property files like this (based on the information provided in the activiti userguide):

    # DATABASE
#

datasource.driver=org.postgresql.Driver
datasource.url=jdbc:postgresql://localhost:5432/activiti

#datasource.driver=com.mysql.jdbc.Driver
#datasource.url=jdbc:mysql://127.0.0.1:3306/activiti6ui?
characterEncoding=UTF-8

datasource.username=postgres
datasource.password=postgres

#hibernate.dialect=org.hibernate.dialect.H2Dialect
#hibernate.dialect=org.hibernate.dialect.MySQLDialect
#hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
#hibernate.dialect=org.hibernate.dialect.SQLServerDialect
#hibernate.dialect=org.hibernate.dialect.DB2Dialect

hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect

Full File here: Pastebin .properties File.

And even if I use the unmodified .war file activiti website provides, I always get these errors: Pastebin Tomcat Log

I would be very grateful for help. Thanks.


Solution

  • I resolved it. The Problem was, I was using JDK 9, apparently Activiti 6 doesnt yet go together with JDK 9, so changing back to JDK 8 fixed the problem.