0 Replies Latest reply on Dec 13, 2013 4:37 PM by Pratik Patel

    Operation request timeout for sample evaluation

    Pratik Patel Newbie

      Hi,

       

      I have setup jBPM5.3 (I know it's old but that's the latest approval by legal team) and while understanding the process with sample evaluation using Eclipse J2EE Kepler, I run into following issue when debugging.

       


      Everytime I run start.demo, for the very first Debug as java application, everything works just fine.

       

      then once I evaluate and example and complete all tasks for krisv, mary (HR Evaluation) and john (PM Evaluation), I click on "Resume " (F8) in eclipse to run thru the program.

       

      and click on "Terminate" (Ctrl + F2). 

       

      Next time, if I start the program using Debug as java application, I get following exception once I try to start the process. (ksession.startProcess)

       

       

      0    13/12 16:29:55,077[main] ERROR workitem.wsht.GenericHTWorkItemHandler.executeWorkItem  - Fri Dec 13 16:29:55 EST 2013: Error when creating task on task server for work item id 1. Error reported by task server: Task operation request timed out

      java.lang.RuntimeException: Task operation request timed out

        at org.jbpm.task.service.SyncTaskServiceWrapper.addTask(SyncTaskServiceWrapper.java:118)

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

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

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

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

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

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

        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:124)

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

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

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

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

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

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

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

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

       

       

      Any idea?

       

      Thank you.

       

      --Pratik Patel