3 Replies Latest reply on Sep 23, 2013 10:31 AM by christine.durandgasselin

    Installation : jbpm-5.4.0.Final not working

    christine.durandgasselin

      Dear friends,

       

      I need help.

      I have Eclipse Kepler and jBoss AS 7 installed (jBoss installed through Eclipse).

      I dowloaded jbpm-5.4.0.Final-installer-full.zip and installed it.

       

      When launching : http://127.0.0.1:8080/jbpm-console/app.html#errai_ToolSet_Tasks;none

      I had the error : java.lang.IllegalArgumentException: Could not connect task client HornetQ(127.0.0.1:5153)

       

      Following http://hornetq.blogspot.fr/2011/06/hornetq-on-jboss-as7.html , I configured standalone.xml with HornetQ as messaging.

       

      Now, I have HornetQ, but jBPM fail to load in jBoss !!!

      I have designer.war.failed, drools-guvnor.war.failed, jbpm-gwt-console.war.failed and jbpm-gwt-console-server.war.failed IN C:\Users\CDurand\jboss-as-7.1.1.Final\standalone\deployments

       

      Any idea ?

      Thanks in advance

        • 1. Re: Installation : jbpm-5.4.0.Final not working
          swiderski.maciej

          hornetq defined in standalone.xml is not used by jbpm. jbpm bootstraps its own hornetq instance. The error much be caused by something else. I would recommend to rerun the installer (clean and install again) and then examine clean server.log after startup. Next logon to console and see if you can proceed with sample process. If you still have the error, please attach that server.log here.

           

          HTH

          • 2. Re: Re: Installation : jbpm-5.4.0.Final not working
            christine.durandgasselin

            I have Eclipse and JBoss installed. So, in install/build.properties, I changed the jboss.home and eclipse.home properties.

            jboss.server.version.7=7.1.1.Final
            jboss.server.version=${jboss.server.version.7}

            jboss.home=C:/Users/CDurand/jboss-as-${jboss.server.version}
            eclipse.home=C:/Program Files/eclipse

            Installing

            In the install dir, run installation script:

            ant install.guvnor.into.jboss    => OK

            ant install.designer.into.jboss    => OK

            ant install.jBPM-gwt-console.into.jboss    => OK

             

            ant install.jBPM-eclipse.into.eclipse    => Failed

            BUILD FAILED
              Target "install.jBPM-eclipse.into.eclipse" does not exist in the project "jBPM.install".
             

            ant install.drools-eclipse.into.eclipse
                => Failed

            BUILD FAILED

              Target "install.drools-eclipse.into.eclipse" does not exist in the project "jBPM.install".

             

            Starting

            ant start.h2 => OK

             

            ant start.jboss => OK

            ant start.human.task
                [javac] F:\Java\jbpm-installer\build.xml:864: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
                [javac] Compiling 1 source file to F:\Java\jbpm-installer\task-service\target

            BUILD FAILED
            F:\Java\jbpm-installer\build.xml:864: F:\Java\jbpm-installer\runtime does not exist.

            I had downloaded jbpm-5.4.0.Final-bin.zip, so I put it in F:\Java\jbpm-installer\runtime and :

             

            F:\Java\jbpm-installer>ant start.human.task

            Buildfile: F:\Java\jbpm-installer\build.xml

             

            start.human.task:

                [javac] F:\Java\jbpm-installer\build.xml:864: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

                [javac] Compiling 1 source file to F:\Java\jbpm-installer\task-service\target

                  [copy] Copying 5 files to F:\Java\jbpm-installer\task-service\target

                  [java] 1    23/09 11:17:01,249[main] ERROR task.identity.DefaultUserGroupCallbackImpl.<init>  - Error when loading group information for callback from location: file:null/roles.properties

                  [java] java.io.FileNotFoundException: null\roles.properties (Le chemin dÆaccÞs spÚcifiÚ est introuvable)

                  [java]    at java.io.FileInputStream.open(Native Method)

                  [java]    at java.io.FileInputStream.<init>(FileInputStream.java:138)

                  [java]    at java.io.FileInputStream.<init>(FileInputStream.java:97)

                  [java]    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)

                  [java]    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)

                  [java]    at java.net.URL.openStream(URL.java:1037)

                  [java]    at org.jbpm.task.identity.DefaultUserGroupCallbackImpl.<init>(DefaultUserGroupCallbackImpl.java:55)

                  [java]    at org.jbpm.task.identity.DefaultUserGroupCallbackImpl.<init>(DefaultUserGroupCallbackImpl.java:40)

                  [java]    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                  [java]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

                  [java]    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                  [java]    at java.lang.reflect.Constructor.newInstance(Constructor.java:526)

                  [java]    at java.lang.Class.newInstance(Class.java:374)

                  [java]    at org.jbpm.task.identity.UserGroupCallbackManager.setCallbackFromProperties(UserGroupCallbackManager.java:69)

                  [java]    at org.jbpm.DemoTaskService.main(Unknown Source)

                  [java] Task service registered usergroup callback ...

                  [java] Task service started correctly!

                  [java] Task service running ...

             

             

            I still have "Could not connect task client HornetQ(127.0.0.1:5153)" when launching http://localhost:8080/jbpm-console/

            • 3. Re: Re: Re: Installation : jbpm-5.4.0.Final not working
              christine.durandgasselin

              I did :


              F:\Java\jbpm-installer>ant clean.jboss

              ...

                [delete] Deleting directory C:\Users\CDurand\jboss-as-7.1.1.Final (oups ! )

              ...

               

              Then :

               

              F:\Java\jbpm-installer>ant install.demo.noeclipse

              Buildfile: F:\Java\jbpm-installer\build.xml

               

              download.jboss.check:

                   [echo] Checking JBoss AS download ...

               

              download.jboss:

               

              install.jboss:

                  [unzip] Expanding: F:\Java\jbpm-installer\lib\jboss-as-7.1.1.Final.zip into F:\Java\jbpm-installer


              jBoss is now installed in jbpm-installer\jboss-as-7.1.1.Final\ and it works !