0 Replies Latest reply on Oct 18, 2012 9:18 AM by Leo C

    jBPM 5.3 on MySQL5.5

    Leo C Newbie

      Hi all,

      I've followed the guide at: http://docs.jboss.org/jbpm/v5.3/userguide/ch.installer.html#d0e597 (changing the three files.xlm) but I can't run jBPM on MySQL, since when I type the "ant start.demo.db" command, it stucks there:

       

      C:\jbpm-installer>ant start.demo.db

       

      Buildfile: C:\jbpm-installer\build.xml

      check.jboss.version:

      download.db.driver.check:

           [echo] Checking if db driver jar has been downloaded ...

      download.mysql.driver:

           [echo] Getting mysql driver jar ...

            [get] Getting: https://repository.jboss.org/nexus/service/local/repositories/central/content/mysql/mysql-connector-java/5.1.18/mysql-connector-java-5.1.18.jar

            [get] To: C:\jbpm-installer\db\driver\mysql-connector-java.jar

      install.db.files:

          [mkdir] Created dir: C:\jbpm-installer\jboss-as-7.0.2.Final\modules\com\mysql\main

           [copy] Copying 1 file to C:\jbpm-installer\jboss-as-7.0.2.Final\modules\com\mysql\main

           [copy] Copying 1 file to C:\jbpm-installer\jboss-as-7.0.2.Final\modules\com\mysql\main

      start.jboss:

      check.jboss.version:

      start.jboss5:

      check.jboss.version:

      start.jboss7:

      start.human.task:

          [mkdir] Created dir: C:\jbpm-installer\task-service\target

          [javac] C:\jbpm-installer\build.xml:844: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

          [javac] Compiling 1 source file to C:\jbpm-installer\task-service\target

           [copy] Copying 6 files to C:\jbpm-installer\task-service\target

           [java] Task service registered usergroup callback ...

           [java] Task service started correctly!

           [java] Task service running ...

       

       

       

      In the server.log there is this mistake:

      10:34:08,826 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jbpm-human-task-war]] (MSC service thread 1-5) Servlet /jbpm-human-task-war threw load() exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jbpm5.task' doesn't exist

       

      Any help?
      Thanks all, best regards

      Leo