Dhaval Shah [
https://community.jboss.org/people/shahdhaval2020] created the discussion
"Re: Could not connect task client: on ip: 127.0.0.1 - port: 5153"
To view the discussion, visit:
https://community.jboss.org/message/784422#784422
--------------------------------------------------------------
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/e...
http://download.eclipse.org/technology/epp/downloads/release/helios/SR2/e...
[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......
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/784422#784422]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]