1 Reply Latest reply on Jul 27, 2010 12:06 PM by Jorge Ferreira

    Errors instaling JBPM 4.3 in JBoss 4.2.3

    Iván Pazmiño Novice

      Hi everyone,

       

      I need some help with jbpm 4.3 installation over a JBoss 4.2.3

      I downloaded jbpm-4.3.zip and unzipped it. Then installed the database without trouble.

      Problems arouse with the app server installation. I changed build.xml properties regarding JBoss version and location

      <property name="jboss.version" value="4.2.3.GA" />

      <property name="jboss.parent.dir" value="/usr/local/java" />

      Then run ant -Ddatabase=mysql install.jbpm.into.jboss

      The execution went without problems, but when starting the app server i got the following exception:

       

      20:14:24,231 ERROR [MainDeployer] Could not create deployment: file:/usr/local/java/jboss-4.2.3.GA/server/jbpm4/deploy/jbpm/jbpm-destinations-service.xml
      org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.jms.server.destination.QueueService; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jms.server.destination.QueueService)

       

      I've read some post that report having issues with installations over 4.2.x, but none says anything about adding extra jars to the server's lib.

      Any idea what would be wrong?

       

      Thanks in advance.

        • 1. Re: Errors instaling JBPM 4.3 in JBoss 4.2.3
          Jorge Ferreira Newbie

          jBPM 4.3 distro is prepared for jBOSS AS 5.0.0.GA Because you are installing in jBOSS AS 4.2.3.GA you have to do some modifications.

           

          Change <jbpm-distro-home>\install\src\jboss\config\deploy\jbpm\jbpm-destinations-service.xml to fix for 4.2.3.GA:

            <mbean code="org.jboss.mq.server.jmx.Queue"
              name="jboss.mq.destination:service=Queue,name=JbpmCommandQueue">
              <depends optional-attribute-name="DestinationManager">
                  jboss.mq:service=DestinationManager
              </depends>
            </mbean>

           

          And run the ant target "install.jbpm.into.jboss" again.

           

          Optionally edit the file directly on jBOSS at <jboss-home>\server\default\deploy\jbpm\jbpm-destinations-service.xml and insert the same modifications.