3 Replies Latest reply on Mar 1, 2012 2:41 AM by pras_karnam

    jBPM jboss5.1 EAP deployment Issue

    pras_karnam

      Hi All,

       

           I have deployed our code onto JBOSS 5.1 EAP and the war is deployed but with the following error , can one please help us on resolving this ... ?

       

      java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "persistence.unit:unitName=#org.jbpm.persistence.jpa" is missing the following dependencies:

          Dependency "jboss.jca:name=jdbc/jbpm-ds,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=jdbc/jbpm-ds,service=DataSourceBinding' **")

       

      DEPLOYMENTS IN ERROR:

        Deployment "jboss.jca:name=jdbc/jbpm-ds,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=jdbc/jbpm-ds,service=DataSourceBinding' **

       

              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:312)

              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:189)

              at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:232)

              at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:89)

              at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:155)

              at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:162)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

              at java.lang.reflect.Method.invoke(Method.java:597)

              at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

              at java.util.concurrent.FutureTask.run(FutureTask.java:138)

              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)

      Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "persistence.unit:unitName=#org.jbpm.persistence.jpa" is missing the following dependencies:

          Dependency "jboss.jca:name=jdbc/jbpm-ds,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=jdbc/jbpm-ds,service=DataSourceBinding' **")

       

      DEPLOYMENTS IN ERROR:

        Deployment "jboss.jca:name=jdbc/jbpm-ds,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=jdbc/jbpm-ds,service=DataSourceBinding' **

       

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1008)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:954)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:870)

              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)

              at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:326)

              at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:238)

              at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:930)

              at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)

              at org.jboss.remoting.Client.invoke(Client.java:2034)

              at org.jboss.remoting.Client.invoke(Client.java:877)

              at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:304)

              ... 15 more

       

      regards

      Prashanth Karnam

        • 1. Re: jBPM jboss5.1 EAP deployment Issue
          tsurdilovic

          Would be best to ask JBoss support via support case as the community does not use the supported JBoss AS versions (EAP). You should probably download the jBPM 5.2 Full Installer and research it's build.xml and build.properties to see what all components and configurations are needed.

           

          Hope this helps.

          • 2. Re: jBPM jboss5.1 EAP deployment Issue
            swiderski.maciej

            Seems like data source definition is missing (jdbc/jbpm-ds). Most likely it is referenced by persistence.xml of jbpm. Please double check that data source definition is present on the application server or change your persistence.xml to point to the right data source definition.

             

            HTH

            • 3. Re: jBPM jboss5.1 EAP deployment Issue
              pras_karnam

              Thanks All , the issue was because one of the jars in the web-inf/lib , jbpm-final-tests.jar was internally referring to the above mentioned DS. Removed it and the deployment was fine.