2 Replies Latest reply on Jan 29, 2013 9:50 PM by John Joel Boss

    Deploying jBPM5.4 using EAR on AS 7.1.1

    Albert Chua Newbie



      I'm a newbie to jBPM and Drools. I have successfully done installed AS 7.1.1 with jBPM 5.4 and Drools 5.4 war files deployed.

      Now I am trying to deploy a EAR file containing a stateful bean. The bean is suppose to grab the bpmn file from the Guvnor and run the workflow.

      Unfortunately when I tried to deploy the EAR files containing all the dependencies, it hit the following error (attached is the full server.log):


      11:53:51,295 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS015870: Deploy of deployment "middleoffice-ear.ear" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"middleoffice-ear.ear#org.jbpm.persistence.jpa\"jboss.naming.context.java.jdbc.jbpm-dsMissing[jboss.persistenceunit.\"middleoffice-ear.ear#org.jbpm.persistence.jpa\"jboss.naming.context.java.jdbc.jbpm-ds]"]}
      11:53:51,295 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011403: Stopping Persistence Unit Service 'middleoffice-ear.ear/middleoffice-ejb.jar#org.jbpm.task'
      11:53:51,295 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) JBAS011403: Stopping Persistence Unit Service 'middleoffice-ear.ear/middleoffice-ejb.jar#org.jbpm.persistence.jpa'
      11:53:51,311 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment middleoffice-ejb.jar in 42ms
      11:53:51,405 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment middleoffice-ear.ear in 132ms
      11:53:51,405 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) JBAS014774: Service status report
      JBAS014775:    New missing/unsatisfied dependencies:
            service jboss.naming.context.java.jdbc.jbpm-ds (missing) dependents: [service jboss.persistenceunit."middleoffice-ear.ear#org.jbpm.persistence.jpa"] 
      11:53:51,405 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"middleoffice-ear.ear#org.jbpm.persistence.jpa\"jboss.naming.context.java.jdbc.jbpm-dsMissing[jboss.persistenceunit.\"middleoffice-ear.ear#org.jbpm.persistence.jpa\"jboss.naming.context.java.jdbc.jbpm-ds]"]}}}


      What is wrong with my EAR deployment file?


      Thanks & Kind Regards,