2 Replies Latest reply on Jul 16, 2013 1:53 AM by 席斌 席

    issue about jbpm5.4 human task config

    席斌 席 Newbie

      hi

       

           I have modify content of jbpm-installer/conf/default.jbpm.console.properties.

           it's content :        

           jbpm.console.server.host=192.168.100.131

           jbpm.console.server.port=8088

           jbpm.console.task.service.strategy=HornetQ

           jbpm.console.task.service.host=192.168.100.131

           jbpm.console.task.service.port=5153

           jbpm.console.directory=

           guvnor.protocol=http

           guvnor.host=192.168.100.131:8088

           guvnor.subdomain=drools-guvnor

           guvnor.usr=admin

           guvnor.pwd=admin

           guvnor.packages=

           guvnor.connect.timeout=10000

           guvnor.read.timeout=10000

           guvnor.snapshot.name=LATEST

       

      console and drools-guvnor service is correctly ,but HornetQ is bad。

       

      15/07 17:49:22,760[main] ERROR service.hornetq.HornetQTaskClientConnector.connect  - Unable to connect to server using configuration org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5153&host=192-168-100-131

      org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.evaluation:1 - Self Evaluation:2] -- Could not connect task client: on ip: 192.168.100.131 - 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: 192.168.100.131 - 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

       

      Please How resolve this question?