0 Replies Latest reply on Oct 26, 2011 4:44 PM by ct1

    Start Demo for jBPM 5.1.0 gives compile problems.

    ct1

      === Environment ==============================

      - jBPM Version : jBPM-5.1.0

      - Database : default that came with the installation

      - JDK : java version 1.6.0.27

      - Container : jBoss

      - Configuration : as it came with the installation

      - Libraries : as they came with the installation

      === Process ==================================

      Trying to run the demo (ant  demo.start)

      === API ===================================

      From the c:\JBPM\jbpm-installer directory I ran "ant demo.start"

      === Stacktrace ==============================

      I see an alert that Eclipse "Failed to load the JNI shared library "C:\Program Files\Java\jdk1.6.0_27\bin\..\jre\bin\server\jvm.dll".  Eclipse did not come up and doucmented in the install.html and the User's Guide.

       

      And the following displays in the console:

       

      install.demo:

      BUILD SUCCESSFUL
      Total time: 20 minutes 21 seconds

      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 ...

       

      === Debug logs ==============================

      See above.

       

      === Problem description =========================

      Start demo gives compile errors.