Imran Naqvi [
http://community.jboss.org/people/imran.h] created the discussion
"Re: Instantiating a process in JBPM5"
To view the discussion, visit:
http://community.jboss.org/message/619271#619271
--------------------------------------------------------------
Thank you for your answer.
I took out the db logger for now.
I am getting the followin gexception:
java.lang.IllegalArgumentException: Could not connect task client
at
org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler.connect(CommandBasedWSHumanTaskHandler.java:88)
at
org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler.executeWorkItem(CommandBasedWSHumanTaskHandler.java:101)
at
org.drools.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:70)
at
org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)
Evaluate.bpmn has manual tasks in it. According to the documentation I must initialize the
TaskService as a separate service. The task service itself takes an instance of an
EntitymanagerFactory:
EntityManagerFactory emf =
Persistence.createEntityManagerFactory("org.drools.task");
TaskService taskService = new TaskService(emf);
MinaTaskServer server = new MinaTaskServer( taskService );
Thread thread = new Thread( server );
thread.start();
Is there any way of getting the task service without jpa?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/619271#619271]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]