1 2 Previous Next 22 Replies Latest reply on Feb 15, 2013 9:58 AM by Shobhit Tyagi

    Could not connect task client: on ip: 127.0.0.1 - port: 5153

    sravanireddy Newbie

      09/12 12:35:16,955[main] ERROR service.hornetq.HornetQTaskClientConnector.connect  - Unable to connect to server using configuration org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5153&host=127-0-0-1

      org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.evaluation:1 - Self Evaluation:2] -- Could not connect task client: on ip: 127.0.0.1 - port: 5153

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:132)

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:279)

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:238)

                at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)

                at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)

                at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)

                at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:194)

                at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:309)

                at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:170)

                at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:140)

                at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1098)

                at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:320)

                at com.sample.ProcessTest.main(ProcessTest.java:35)

      Caused by: java.lang.IllegalArgumentException: Could not connect task client: on ip: 127.0.0.1 - port: 5153

                at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.connect(GenericHTWorkItemHandler.java:158)

                at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:180)

                at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)

                at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:107)

                at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)

                ... 13 more

        • 1. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
          Jiri Svitak Novice

          It seems that your task service is not running on port 5153. You have to start it either by

          ant start.human.task

          or by deploying human task .war into your JBoss application server.

           

          Maybe you have to check the port of human task in web.xml file, but by default it should be 5153.

          • 2. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
            Newbie

            I run > ant start.human.task and I got following error:

             

            C:\DevTools\jbpm-5.4.0-installer>ant start.human.task

            Buildfile: build.xml

             

             

            start.human.task:

                 [java] 0    19/12 01:27:00,212[main] ERROR task.identity.DefaultUserGroupCa

            llbackImpl.<init>  - Error when loading group information for callback from loca

            tion: file:null/roles.properties

                 [java] java.io.FileNotFoundException: null\roles.properties (The system can

            not find the path specified)

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

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

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

                 [java]     at sun.net.www.protocol.file.FileURLConnection.connect(FileURLCo

            nnection.java:70)

                 [java]     at sun.net.www.protocol.file.FileURLConnection.getInputStream(Fi

            leURLConnection.java:161)

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

                 [java]     at org.jbpm.task.identity.DefaultUserGroupCallbackImpl.<init>(De

            faultUserGroupCallbackImpl.java:55)

                 [java]     at org.jbpm.task.identity.DefaultUserGroupCallbackImpl.<init>(De

            faultUserGroupCallbackImpl.java:40)

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

            Method)

                 [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC

            onstructorAccessorImpl.java:39)

                 [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del

            egatingConstructorAccessorImpl.java:27)

                 [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:51

            3)

                 [java]     at java.lang.Class.newInstance0(Class.java:355)

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

                 [java]     at org.jbpm.task.identity.UserGroupCallbackManager.setCallbackFr

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

                 [java] Exception in thread "Thread-1" java.lang.RuntimeException: Could not

            start human task server, address already in use, is it possible that another in

            stance of the task server is already running?

                 [java]     at org.jbpm.task.service.mina.BaseMinaTaskServer.run(BaseMinaTas

            kServer.java:65)

                 [java]     at java.lang.Thread.run(Thread.java:662)

             

             

            BUILD SUCCESSFUL

            Total time: 1 minute 2 seconds

            C:\DevTools\jbpm-5.4.0-installer>

            • 3. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
              Maciej Swiderski Master

              for 5.4 it's enough to run ant start.demo or ant start.demo.noeclipse to initiate demo installation of jbpm. It start JBoss AS and all application deployed to it. Next examine server.log to check if there were any problems starting any of the applications.

               

              the one that you executed start Mina based task server and the error you see is due to missing path to role.properties file that defines group membership for users in task service. You can add additional jvm parameter into that target in build.xml that will inform about location of that file:

              jbpm.user.group.mapping=ABSOLUTE_PATH_TO_ROLES_FILE

               

              HTH

              • 4. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                Dhaval Shah Newbie

                Hey MacIej ....Even i have same problem can u plz help me on this.....

                 

                i am running on ubuntu...

                 

                1 st step::

                 

                root@ammar:~/Desktop/Dhaval shah/Jbpm /jbpm-installer# ant install.demo

                Buildfile: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/build.xml

                 

                 

                download.jboss.check:

                     [echo] Checking JBoss AS download ...

                 

                 

                download.jboss:

                 

                 

                install.jboss:

                    [unzip] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/jboss-as-7.1.1.Final.zip into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer

                 

                 

                check.jboss.version:

                 

                 

                download.db.driver.check:

                     [echo] Checking if db driver jar has been downloaded ....//db/driver/h2.jar

                 

                 

                download.db.driver:

                 

                 

                install.db.files:

                 

                 

                download.drools.guvnor.check:

                     [echo] Checking Drools Guvnor download ...

                 

                 

                download.drools.guvnor:

                 

                 

                install.guvnor.into.jboss:

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target

                    [unzip] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/guvnor-distribution-wars-5.5.0.Final.war into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/WEB-INF/classes

                      [zip] Building zip: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/guvnor-distribution-wars-5.5.0.Final.war

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/deployments

                   [delete] Deleting directory /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target

                 

                 

                download.designer.check:

                     [echo] Checking Designer download ...

                 

                 

                download.designer:

                 

                 

                install.designer.into.jboss:

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/deployments

                 

                 

                check.jboss.version:

                 

                 

                created.designer.deployment.as7:

                    [touch] Creating /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/deployments/designer.war.dodeploy

                 

                 

                download.jBPM.gwt-console.check:

                     [echo] Checking jBPM gwt-console download ...EE6

                 

                 

                download.jBPM.gwt-console:

                 

                 

                install.jBPM-gwt-console.into.jboss:

                 

                 

                check.jboss.version:

                 

                 

                download.transport.lib.check:

                 

                 

                install.transport.lib:

                 

                 

                install.jBPM-gwt-console.into.jboss5:

                 

                 

                check.jboss.version:

                 

                 

                install.jBPM-gwt-console.into.jboss7:

                 

                 

                check.birt.as7:

                 

                 

                download.birt.check.as7:

                     [echo] Checking birt reporting engine download for as7 ...

                 

                 

                download.birt.as7:

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-war

                    [unzip] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/jbpm-gwt-console-server-5.4.0.Final-EE6.war into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-war

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-war/WEB-INF/lib

                     [copy] Copying 5 files to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-war/WEB-INF/classes

                     [copy] Warning: Could not find file /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/db/jbpm-persistence.xml to copy.

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-war/WEB-INF/classes/META-INF

                 

                 

                check.birt.as7:

                 

                 

                install.reporting.into.jboss7:

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/birt

                    [unzip] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/birt-runtime-3_7_0.zip into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/birt

                     [copy] Copying 77 files to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-war/WEB-INF/lib

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-war/WEB-INF/output

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-war/WEB-INF/reports

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-war/WEB-INF/reports

                   [delete] Deleting directory /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/birt

                 

                 

                install.dependencies:

                      [zip] Building zip: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-gwt-console-server-5.4.0.Final.war

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/deployments

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/deployments

                   [delete] Deleting directory /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/configuration

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/configuration

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/configuration

                 

                 

                download.jBPM.ht-war.check:

                     [echo] Checking jBPM human task war download ...

                 

                 

                download.jBPM-ht.war:

                 

                 

                download.transport.lib.check:

                 

                 

                install.transport.lib:

                 

                 

                install.jBPM-ht.into.jboss:

                 

                 

                install.ht.war.into.jboss5:

                 

                 

                install.ht.war.into.jboss7:

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-human-task-war

                    [unzip] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/jbpm-human-task-war-5.4.0.Final-EE6.war into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-human-task-war

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-human-task-war/WEB-INF

                     [copy] Warning: Could not find file /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/db/task-persistence.xml to copy.

                     [copy] Warning: Could not find file /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/db/Taskorm.xml to copy.

                      [zip] Building zip: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-5.4.0.Final-human-task-war.war

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/deployments

                   [delete] Deleting directory /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target

                 

                 

                download.form.builder.check:

                     [echo] Checking Form Builder download ...

                 

                 

                download.form.builder:

                 

                 

                install.form.builder.into.jboss:

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-form-builder-war

                    [unzip] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/jbpm-5.4.0.Final-form-builder.war into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-form-builder-war

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-form-builder-war/WEB-INF/classes

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-form-builder-war/WEB-INF/classes

                      [zip] Building zip: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target/jbpm-5.4.0.Final-form-builder.war

                     [copy] Copying 1 file to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/jboss-as-7.1.1.Final/standalone/deployments

                   [delete] Deleting directory /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/target

                 

                 

                download.eclipse.check:

                     [echo] Checking Eclipse download ...

                 

                 

                download.eclipse:

                     [echo] Getting Eclipse ...

                      [get] Getting: http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-linux-gtk.tar.gz

                      [get] To: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/eclipse-java-helios-SR2-linux-gtk.tar.gz

                 

                 

                download.eclipse.gef.check:

                     [echo] Checking Eclipse GEF download ...

                 

                 

                download.eclipse.gef:

                 

                 

                install.eclipse:

                 

                 

                unzipEclipse:

                 

                 

                untarEclipse:

                   [gunzip] Expanding /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/eclipse-java-helios-SR2-linux-gtk.tar.gz to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/eclipse-java-helios-SR2-linux-gtk.tar

                    [untar] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/eclipse-java-helios-SR2-linux-gtk.tar into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer

                    [unzip] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/GEF-SDK-3.6.2.zip into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer

                 

                 

                download.jBPM.bin.check:

                     [echo] Checking jBPM binaries download ...

                 

                 

                download.jBPM.bin:

                 

                 

                install.jBPM.runtime:

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/runtime

                    [unzip] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/jbpm-5.4.0.Final-bin.zip into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/runtime

                 

                 

                download.droolsjbpm.eclipse.check:

                     [echo] Checking jBPM and Drools Eclipse download ...

                 

                 

                download.droolsjbpm.eclipse:

                 

                 

                install.droolsjbpm-eclipse.into.eclipse:

                    [mkdir] Created dir: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/eclipse/droolsjbpm-update-site

                    [unzip] Expanding: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/lib/org.drools.updatesite-5.5.0.Final-assembly.zip into /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/eclipse/droolsjbpm-update-site

                     [copy] Copying 4 files to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/eclipse/features

                     [copy] Copying 5 files to /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/eclipse/plugins

                   [delete] Deleting directory /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/eclipse/droolsjbpm-update-site

                 

                 

                install.demo:

                 

                 

                BUILD SUCCESSFUL

                Total time: 39 minutes 22 seconds

                 

                2nd step::

                 

                root@ammar:~/Desktop/Dhaval shah/Jbpm /jbpm-installer# ant start.demo

                Buildfile: /home/ammar/Desktop/Dhaval shah/Jbpm /jbpm-installer/build.xml

                 

                 

                download.db.driver.check:

                     [echo] Checking if db driver jar has been downloaded ....//db/driver/h2.jar

                 

                 

                download.db.driver:

                 

                 

                start.h2.check:

                     [echo] Checking if h2 db should be started ...

                 

                 

                start.h2:

                 

                 

                start.jboss:

                 

                 

                check.jboss.version:

                 

                 

                start.jboss5:

                 

                 

                check.jboss.version:

                 

                 

                start.jboss7:

                 

                 

                start.eclipse:

                 

                 

                start.demo:

                 

                 

                BUILD SUCCESSFUL

                Total time: 22 seconds

                 

                then after when i select the breakpoint as told in UserGuide for the Demo Project ......and Debug it i am getting this in Console

                 

                0    21/12 08:55:35,916[main] ERROR service.hornetq.HornetQTaskClientConnector.connect  - Unable to connect to server using configuration org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5153&host=127-0-0-1

                org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.evaluation:1 - Self Evaluation:2] -- Could not connect task client: on ip: 127.0.0.1 - port: 5153

                  at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:132)

                  at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:279)

                  at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:238)

                  at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)

                  at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)

                  at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)

                  at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)

                  at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:194)

                  at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:309)

                  at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:170)

                  at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:140)

                  at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1098)

                  at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:320)

                  at com.sample.ProcessTest.main(ProcessTest.java:31)

                Caused by: java.lang.IllegalArgumentException: Could not connect task client: on ip: 127.0.0.1 - port: 5153

                  at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.connect(GenericHTWorkItemHandler.java:158)

                  at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:180)

                  at org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)

                  at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:107)

                  at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126)

                  ... 13 more

                 

                Plz help me out ...I am  a New bie to jBPM......

                • 5. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                  Jiri Svitak Novice

                  Hi,

                  open jbpm-gwt-console-server-5.4.0.Final-EE6.war/WEB-INF/classes/default.jbpm.console.properties and try to change

                  jbpm.console.task.service.host=127.0.0.1

                  to localhost instead of local IP address.

                  • 6. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                    Dhaval Shah Newbie

                    hello Jiri,

                     

                    how to do this thing ..what u just said....???

                    • 7. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                      Jiri Svitak Novice

                      Hi,

                      I forgot that you use jbpm-installer. The steps from above would work to setup manually your human task service as web archive (.war) in application server.

                      However jbpm-installer tries to simplify configuration of jbpm applications in .war files. So try these steps - open the file jbpm-installer/conf/default.jbpm.console.properties

                      and change

                      jbpm.console.task.service.host=127.0.0.1

                      to

                      jbpm.console.task.service.host=localhost

                      If it won't work, make sure that your human task service is listening on localhost on port 5153.

                      • 8. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                        hczjb zhang Newbie

                        i get the same issue about "null\roles.properties", and i also change the build.xml, but it still is not working, whether i change build.xml wrong, please tell me how to fix the problem, thanks in advance.

                         

                        <target name="start.human.task">
                            <mkdir dir="${install.home}/task-service/target"/>
                            <javac srcdir="${install.home}/task-service/src" destdir="${install.home}/task-service/target" classpathref="classpath.human.task">
                              <compilerarg value="-Xlint:unchecked"/>
                            </javac>
                            <copy todir="${install.home}/task-service/target">
                              <fileset dir="${install.home}/task-service/resources"/>
                            </copy>
                            <java classname="org.jbpm.DemoTaskService" fork="true"> 
                              <classpath>
                                <pathelement path="${install.home}/task-service/target"/>
                                <path refid="classpath.human.task" />
                              </classpath>
                            </java>
                           <jvmarg value="jbpm.user.group.mapping=${jboss.home}" />
                            <sysproperty key="jbpm.user.group.mapping" value="${jboss.home}"/>
                          </target>

                        • 9. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                          Shobhit Tyagi Master

                          Why did you change your build.xml? are you running this with a different db?

                          • 10. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                            Jiri Svitak Novice

                            hczjb zhang:

                             

                            Hi. First of all - it's better idea to start another discussion thread about different problem. Otherwise the thread is mixed and becomes confusing.

                             

                            About your problem "null\roles.properties" - have you tried the steps suggested by Maciej above?

                             

                            Instead of:

                            <jvmarg value="jbpm.user.group.mapping=${jboss.home}" />

                            <sysproperty key="jbpm.user.group.mapping" value="${jboss.home}"/>

                            use:

                            jbpm.user.group.mapping=ABSOLUTE_PATH

                            for example:

                            jbpm.user.group.mapping="C:\roles.properties"

                             

                            Remember that clean installation of jbpm-installer should work automatically without additional configuration.

                            • 11. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                              hczjb zhang Newbie

                              yes, i want to change the database from h2 to oracle

                              • 12. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                                Shobhit Tyagi Master

                                Please follow  Section 3.7 of user guide. Way till sub section 3.7.4 and if you face trouble then please start a new thread as suggested by Jiri. Hope you dont have to start another discussion

                                • 13. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                                  AM Sid Newbie

                                  I finally got the human task service working, I made the foloowing changes in build.xml

                                   

                                     <java classname="org.jbpm.DemoTaskService" fork="true"> 

                                          <sysproperty key="jbpm.user.group.mapping" value="file:///C:/work/jbpm-installer/jboss-as-7.1.1.Final/standalone/configuration/roles.properties"/> 

                                        

                                        <classpath>

                                              <pathelement path="${install.home}/task-service/target"/>

                                              <path refid="classpath.human.task" />

                                        </classpath>

                                      </java>

                                  • 14. Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153
                                    chuan kou Newbie

                                    I'm frist touch  JBPM5.4 .I miss the same problem with u . if you have solved the problem,chould you give some

                                    suggestion for me .thinks

                                     

                                     

                                    1 2 Previous Next