2 Replies Latest reply on Sep 1, 2010 2:14 AM by Michał Minicki

    jbpm 4.4 - jboss integration

    Michał Minicki Newbie

      Hi.

       

      I'm trying to achieve Jboss integration as per documentation here:

      http://docs.jboss.com/jbpm/v4/devguide/html_single/#jbossintegration

       

      Unfortunately when I copy my *.jpdl jar into deploy directory jboss complains about not finding the deployer:

       

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@27f14cd4 { url=file:/D:/Tools/jboss-4.2.3/server/jbpm/deploy/jbpm-process-1.2.46-SNAPSHOT.jpdl }
        deployer: null
        status: null
        state: INIT_WAITING_DEPLOYER
        watch: file:/D:/Tools/jboss-4.2.3/server/jbpm/deploy/jbpm-process-1.2.46-SNAPSHOT.jpdl
        altDD: null
        lastDeployed: 1282825190506
        lastModified: 1282825190506
        mbeans:
      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@27f14cd4 { url=file:/D:/Tools/jboss-4.2.3/server/jbpm/deploy/jbpm-process-1.2.46-SNAPSHOT.jpdl }
        deployer: null
        status: null
        state: INIT_WAITING_DEPLOYER
        watch: file:/D:/Tools/jboss-4.2.3/server/jbpm/deploy/jbpm-process-1.2.46-SNAPSHOT.jpdl
        altDD: null
        lastDeployed: 1282825190506
        lastModified: 1282825190506
        mbeans:
      

       

      How do I get it working?

       

      PS: ProcessEngine is bound in the JNDI and jbpm-console works correctly.

        • 1. Re: jbpm 4.4 - jboss integration
          Maciej Swiderski Master

          I assume that what you are describing is  problem with process deployment not the jbpm itself, correct?

           

          As far as I know there is no jboss integration with 4.4 release. So probably that causes JBoss to complain since it can't find proper deployer for jpdl.

          Either deploy process manually or try to get jboss integration packages from previous releases (4.0 or 4.1).

          1 of 1 people found this helpful
          • 2. Re: jbpm 4.4 - jboss integration
            Michał Minicki Newbie

            Thanks, Maciek. I don't have much free time to test it thoroughly at the moment, but a quick test resulted in a class not found exception (org/jbpm/integration/spi/DeploymentAdaptor). I have placed jbpm-jboss4.jar into the server lib folder and added JBPMDeployer into jboss-service.xml (in deploy/jbpm/jbpm-service.sar/META-INF):

             

              <mbean code="org.jbpm.integration.jboss4.JBPMDeployer"
                     name="org.jbpm:service=JBPMDeployer">
              </mbean>
            

             

            I'm not sure if exception is related as there is a strong possibility I may have accidentally broken my setup.

             

            I'll get back to you as soon as I'll get some time to play with jbpm.