0 Replies Latest reply on Jan 30, 2014 9:25 AM by Marina V.

    jBPM Web Application in Tomcat with MySQL

    Marina V. Newbie

      Hello Community,

       

      I try to develop a jBPM Web Application with persistence enabled. I want to run this Web Application in a Tomcat 7 server.

      For that I created a new dynamic web project in eclipse.

       

      As a maven dependency I added jbpm-bpmn2 and the jbpm-runtime-manager:

       

      <dependency>
           <groupId>org.jbpm</groupId>
           <artifactId>jbpm-bpmn2</artifactId>
           <version>6.0.0.Final</version>
      </dependency>
      
      <dependency>
           <groupId>org.jbpm</groupId>
           <artifactId>jbpm-runtime-manager</artifactId>
           <version>6.0.0.Final</version>
      </dependency>
      

       

      If I now start my server I get this error which is causes by a dependency from the jbpm-runtime-manager:

       

      SCHWERWIEGEND: Exception sending request initialized lifecycle event to listener instance of
      class org.jboss.seam.transaction.TransactionServletListener
      
      java.lang.NullPointerException
          at org.jboss.seam.transaction.TransactionServletListener.requestInitialized(TransactionServletListener.java:106)
          at org.apache.catalina.core.StandardContext.fireRequestInitEvent(StandardContext.java:6103)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:167)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
          at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
          at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
          at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
          at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:662)
      

       

      I has something to do with the seam-transaction.jar.

       

      Did I forget to configure something in my Tomcat 7?

      Can maybe someone provide a step by step tutorial about the configurations to run a jbpm web application in a Tomcat 7 server?

      I only found tutorials on how to deploy the jBPM-console on a Tomcat.

       

      I hope someone can help me.

       

      Greetings

       

      Marina