[jboss-user] [jBPM] - Re: Instantiating a process in JBPM5
Imran Naqvi
do-not-reply at jboss.com
Wed Aug 3 18:45:32 EDT 2011
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110803/e66022e1/attachment-0001.html
More information about the jboss-user
mailing list