1 Reply Latest reply on Oct 31, 2011 9:47 AM by mrmoe

    Cannot get the comprehensive install of jBPM 5 demo to work.

    ct1

      Please point me to the step-by-step instructions for installing jBPM-5.1.0 so I may do an evaluation of it for our company's use.

       

      I have tried three times to use the  jbpm-5.1.0.Final-installer-full.zip package to get the demo installed.  After each time, Eclipse has failed to come up.  Twice I installed Eclipse after completing all the other parts of the full install;but, I could not get the tool pallet for the Designer tool to come up in Eclipse, so when I tried to view the evaluation.bpmn file, I could only see the XML and not the diagram itself.  I have included below the output of the installation for your review.  Thank you for any help you may give.

       

      I am trying to install both jBoss and jBPM and have jBPM run within jBoss on a Windows 7 PC.

       

      Installing the demo:

      c:\JBPM\jbpm-installer>ant install.demo
      Buildfile: c:\JBPM\jbpm-installer\build.xml

      download.jboss.check:
           [echo] Checking JBoss AS download ...

      download.jboss:
           [echo] Getting JBoss AS ...
            [get] Getting: http://downloads.sourceforge.net/jboss/jboss-5.1.0.GA.zip
            [get] To: c:\JBPM\jbpm-installer\lib\jboss-5.1.0.GA.zip
            [get] http://downloads.sourceforge.net/jboss/jboss-5.1.0.GA.zip permanentl
      y moved to http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-5.1.0.GA/j
      boss-5.1.0.GA.zip
            [get] http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-5.1.0.GA/
      jboss-5.1.0.GA.zip moved to http://superb-sea2.dl.sourceforge.net/project/jboss/
      JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA.zip

      install.jboss:
          [unzip] Expanding: c:\JBPM\jbpm-installer\lib\jboss-5.1.0.GA.zip into c:\JBP
      M\jbpm-installer

      download.drools.guvnor.check:
           [echo] Checking Drools Guvnor download ...

      download.drools.guvnor:

      install.guvnor.into.jboss:

      check.jboss.version:

      install.guvnor.into.jboss.5:
          [mkdir] Created dir: c:\JBPM\jbpm-installer\target\drools-guvnor
          [unzip] Expanding: c:\JBPM\jbpm-installer\lib\guvnor-distribution-wars-5.2.0
      .Final-jboss-as-5.1.war into c:\JBPM\jbpm-installer\target\drools-guvnor
            [zip] Building zip: c:\JBPM\jbpm-installer\target\drools-guvnor.war
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\deploy
         [delete] Deleting directory c:\JBPM\jbpm-installer\target

      check.jboss.version:

      install.guvnor.into.jboss.other:

      download.designer.check:
           [echo] Checking Designer download ...

      download.designer:

      install.designer.into.jboss:
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\deploy

      download.h2.check:
           [echo] Checking h2 download ...

      download.h2:
           [echo] Getting h2 ...
            [get] Getting: http://repo1.maven.org/maven2/com/h2database/h2/1.2.124/h2-
      1.2.124.jar
            [get] To: c:\JBPM\jbpm-installer\db\driver\h2.jar

      check.birt:

      download.birt.check:
           [echo] Checking birt reporting engine download ...

      download.birt:
           [echo] Getting birt reporting engine ...
            [get] Getting: http://www.eclipse.org/downloads/download.php?file=/birt/do
      wnloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&url=http://down
      load.eclipse.org/birt/downloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3
      _2_2.zip&mirror_id=1
            [get] To: c:\JBPM\jbpm-installer\lib\birt-runtime-2_3_2_2.zip
            [get] http://www.eclipse.org/downloads/download.php?file=/birt/downloads/d
      rops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&url=http://download.ecli
      pse.org/birt/downloads/drops/R-R1-2_3_2_2-200906011507/birt-runtime-2_3_2_2.zip&
      mirror_id=1 moved to http://download.eclipse.org/birt/downloads/drops/R-R1-2_3_2
      _2-200906011507/birt-runtime-2_3_2_2.zip

      download.jBPM.gwt-console.check:
           [echo] Checking jBPM gwt-console download ...

      download.jBPM.gwt-console:

      install.jBPM-gwt-console.into.jboss:
          [mkdir] Created dir: c:\JBPM\jbpm-installer\target
          [unzip] Expanding: c:\JBPM\jbpm-installer\lib\jbpm-5.1.0.Final-gwt-console.z
      ip into c:\JBPM\jbpm-installer\target
          [mkdir] Created dir: c:\JBPM\jbpm-installer\target\jbpm-gwt-console-server-w
      ar
          [unzip] Expanding: c:\JBPM\jbpm-installer\target\jbpm-gwt-console-server-5.1
      .0.Final.war into c:\JBPM\jbpm-installer\target\jbpm-gwt-console-server-war
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\target\jbpm-gwt-console-ser
      ver-war\WEB-INF\classes
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\target\jbpm-gwt-console-ser
      ver-war\WEB-INF\classes\META-INF
           [copy] Copying 2 files to c:\JBPM\jbpm-installer\target\jbpm-gwt-console-se
      rver-war\WEB-INF\classes
            [zip] Building zip: c:\JBPM\jbpm-installer\target\jbpm-gwt-console-server-
      5.1.0.Final.war
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\deploy
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\deploy
         [delete] Deleting directory c:\JBPM\jbpm-installer\target
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\deploy
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\lib
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\conf
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\conf

      check.birt:

      install.reporting.into.jboss:
          [mkdir] Created dir: c:\JBPM\jbpm-installer\target
          [unzip] Expanding: c:\JBPM\jbpm-installer\lib\birt-runtime-2_3_2_2.zip into
      c:\JBPM\jbpm-installer\target
          [mkdir] Created dir: c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\default\da
      ta\birt
          [mkdir] Created dir: c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\default\da
      ta\birt\ReportEngine
           [copy] Copying 201 files to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\de
      fault\data\birt\ReportEngine
         [delete] Deleting directory c:\JBPM\jbpm-installer\target
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\data\birt
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\data\birt
           [copy] Copying 1 file to c:\JBPM\jbpm-installer\jboss-5.1.0.GA\server\defau
      lt\data\birt\ReportEngine\plugins\org.eclipse.birt.report.data.oda.jdbc_2.3.2.r2
      32_v20090212\drivers

      download.eclipse.check:
           [echo] Checking Eclipse download ...

      download.eclipse:
           [echo] Getting Eclipse ...
            [get] Getting: http://download.eclipse.org/technology/epp/downloads/releas
      e/helios/SR2/eclipse-java-helios-SR2-win32.zip
            [get] To: c:\JBPM\jbpm-installer\lib\eclipse-java-helios-SR2-win32.zip

      download.eclipse.gef.check:
           [echo] Checking Eclipse GEF download ...

      download.eclipse.gef:
           [echo] Getting Eclipse GEF ...
            [get] Getting: http://download.eclipse.org/tools/gef/downloads/drops/3.6.2
      /R201102251600/GEF-SDK-3.6.2.zip
            [get] To: c:\JBPM\jbpm-installer\lib\GEF-SDK-3.6.2.zip

      install.eclipse:

      unzipEclipse:
          [unzip] Expanding: c:\JBPM\jbpm-installer\lib\eclipse-java-helios-SR2-win32.
      zip into c:\JBPM\jbpm-installer

      untarEclipse:
          [unzip] Expanding: c:\JBPM\jbpm-installer\lib\GEF-SDK-3.6.2.zip into c:\JBPM
      \jbpm-installer

      download.jBPM.eclipse.check:
           [echo] Checking jBPM Eclipse download ...

      download.jBPM.eclipse:

      install.jBPM-eclipse.into.eclipse:
          [unzip] Expanding: c:\JBPM\jbpm-installer\lib\jbpm-5.1.0.Final-eclipse-all.z
      ip into c:\JBPM\jbpm-installer\eclipse

      download.jBPM.bin.check:
           [echo] Checking jBPM binaries download ...

      download.jBPM.bin:

      install.jBPM.runtime:
          [mkdir] Created dir: c:\JBPM\jbpm-installer\runtime
          [unzip] Expanding: c:\JBPM\jbpm-installer\lib\jbpm-5.1.0.Final-bin.zip into
      c:\JBPM\jbpm-installer\runtime

      download.drools.eclipse.check:
           [echo] Checking Drools Eclipse download ...

      download.drools.eclipse:

      install.drools-eclipse.into.eclipse:
          [mkdir] Created dir: c:\JBPM\jbpm-installer\eclipse\drools-update-site
          [unzip] Expanding: c:\JBPM\jbpm-installer\lib\org.drools.updatesite-5.2.0.Fi
      nal-assembly.zip into c:\JBPM\jbpm-installer\eclipse\drools-update-site
           [copy] Copying 3 files to c:\JBPM\jbpm-installer\eclipse\features
           [copy] Copying 4 files to c:\JBPM\jbpm-installer\eclipse\plugins
         [delete] Deleting directory c:\JBPM\jbpm-installer\eclipse\drools-update-site


      install.demo:

      BUILD SUCCESSFUL
      Total time: 43 minutes 38 seconds

      c:\JBPM\jbpm-installer>


      c:\JBPM\jbpm-installer>ant start.demo
      Buildfile: c:\JBPM\jbpm-installer\build.xml

      download.h2.check:
           [echo] Checking h2 download ...

      download.h2:

      start.h2:

      start.jboss:

      start.eclipse:

      start.human.task:
          [mkdir] Created dir: c:\JBPM\jbpm-installer\task-service\target
          [javac] c:\JBPM\jbpm-installer\build.xml:500: warning: 'includeantruntime' w
      as not set, defaulting to build.sysclasspath=last; set to false for repeatable b
      uilds
          [javac] Compiling 1 source file to c:\JBPM\jbpm-installer\task-service\targe
      t
          [javac] c:\JBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav
      a:49: warning: [unchecked] unchecked cast
          [javac] found   : java.lang.Object
          [javac] required: java.util.Map<java.lang.String,org.jbpm.task.User>
          [javac]         Map<String, User> users = ( Map<String, User> ) eval( reader
      , vars );
          [javac]                                                             ^
          [javac] c:\JBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskService.jav
      a:54: warning: [unchecked] unchecked cast
          [javac] found   : java.lang.Object
          [javac] required: java.util.Map<java.lang.String,org.jbpm.task.Group>
          [javac]         Map<String, Group> groups = ( Map<String, Group> ) eval( rea
      der, vars );
          [javac]                                                                ^
          [javac] Note: c:\JBPM\jbpm-installer\task-service\src\org\jbpm\DemoTaskServi
      ce.java uses or overrides a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] 2 warnings
           [copy] Copying 2 files to c:\JBPM\jbpm-installer\task-service\target
           [java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
           [java] SLF4J: Defaulting to no-operation (NOP) logger implementation
           [java] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for fu
      rther details.
           [java] Task service started correctly !
           [java] Task service running ...
       
       
        The Eclipse logo appears with an alert window saying "Failed to load the JNI
        shared library 'C:\Program Files\Java\jdk1.6.0_27\bin\..\jre\bin\server\jvm.dll'".
       
        The jvm.dll exists in the specified location:
       
        C:\>cd "C:\Program Files\Java\jdk1.6.0_27\bin\..\jre\bin\server"

      C:\Program Files\Java\jdk1.6.0_27\jre\bin\server>dir jvm*
      Volume in drive C has no label.
      Volume Serial Number is 9A61-2705

      Directory of C:\Program Files\Java\jdk1.6.0_27\jre\bin\server

      08/19/2011  09:53 AM         7,932,928 jvm.dll
                     1 File(s)      7,932,928 bytes
                     0 Dir(s)  450,344,370,176 bytes free

      C:\Program Files\Java\jdk1.6.0_27\jre\bin\server>