5 Replies Latest reply on Jul 20, 2010 1:54 PM by swiderski.maciej

    problem with the deploy of jbpm4.3 and jbossAS 5.1.0

    vanz


      Hi, I've a problem with the deploy of jbpm4.3 and jbossAS 5.1.0
      The steps that I've done are:
      -istalled jbpm and jbossAS.
      -used build.xml to create .bat/.jar and deploy
      -moved .bat/.jar/.jbpm.xml into folder "jboss-5.1.0.GA/server/default/deploy/jbpm/userlibs" directly
      -Jboss consolle works (http://localhost:8080/jbpm-console/org.jboss.bpm.console.Application/Application.html)
      The console doesn't show me the process.
      What should I do to deploy the process definition into the JbossAS console?

       

      File build.xml
      <!-- create jar -->
      <target name="jar">
      <mkdir dir="/home/italsoft/Scrivania/daDeployare" />
      <javac srcdir="/home/italsoft/Scrivania/daDeployare" destdir="/home/italsoft/Scrivania/daDeployare"  />
      <jar destfile="/home/italsoft/Scrivania/daDeployare/helloworld.jar" >
      <fileset dir="/home/italsoft/Scrivania/daDeployare">
      <include name="**/*.class" />
      </fileset>
      </jar>
      </target>

      <!-- create bar -->
      <target name="bar" depends="init">
      <jar destfile="/home/italsoft/Scrivania/daDeployare/helloworld.bar">
      <fileset dir="/home/italsoft/Scrivania/daDeployare">
      <include name="*.jpdl.xml"/>
      </fileset>
      </jar>
      </target>

       

      <!-- deploy with JBPM deployer -->
      <target name="deploy" description="deploys the business archives into jboss" depends=" jar,bar">
      <mkdir dir="/home/italsoft/Scrivania/jboss-5.1.0.GA/server/default/deploy/jbpm/userlibs"/>
      <copy file="/home/italsoft/Scrivania/daDeployare/helloworld.bar" todir="/home/italsoft/Scrivania/jboss-5.1.0.GA/server/default//deploy/jbpm/userlibs" overwrite="true" />
      <copy file="/home/italsoft/Scrivania/daDeployare/helloworld.jar" todir="/home/italsoft/Scrivania/jboss-5.1.0.GA/server/default//deploy/jbpm/userlibs" overwrite="true" />
      </target>