Spring issue after using maven to pull mysql driver

I’ve tried this just now on AWS. Here are the steps I used to deploy it in 10 mins:

  1. download the zip file (wget https://github.com/flowable/flowable-engine/releases/download/flowable-6.2.1/flowable-6.2.1.zip) and unzip it
  2. Download latest tomcat 8 (wget http://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.24/bin/apache-tomcat-8.5.24.zip) and unzip
  3. copy files from flowable distribution to tomcat webapps: (cp flowable-6.2.1/wars apache-tomcat-8.5.24 2/webapps)
  4. chmod everything in /bin (cd apache-tomcat-8.5.24/bin and chmod +x *.sh)
  5. create two property files in /lib (only needed when also needing flowable-rest, otherwise flowable-ui-app.properties is enough). With following content:

flowable-ui-app.properties:

datasource.driver=com.mysql.jdbc.Driver
datasource.url=jdbc:mysql://127.0.0.1:3306/flowable-demo?characterEncoding=UTF-8
datasource.username=flowable
datasource.password=flowable
idm.app.url=AWS URL
deployment.api.url=AWS URL

db.properties (only when needing flowable-rest)

datasource.driver=com.mysql.jdbc.Driver
datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8
datasource.username=flowable
datasource.password=flowable

  1. Download mysql driver to /lib of tomcat (for example wget http://central.maven.org/maven2/mysql/mysql-connector-java/5.1.45/mysql-connector-java-5.1.45.jar and put it apache-tomcat-8.5.24/lib)
  2. Start the tomcat (./catalina run)

AWS-URL/flowable-modeler , AWS-URL/flowable-admin, AWS-URL/flowable-idm and AWS-URL/flowable-task are now available and can be logged in with admin/rest

1 Like