John Soundrakumar [http://community.jboss.org/people/skjohn] created the 
discussion

"jBPM in Websphere"

To view the discussion, visit: http://community.jboss.org/message/615076#615076

--------------------------------------------------------------
Hi,

Does jBpm work in websphere.?   Does it need Bitronix transaction manager only 
to work?  I ve created a  simple process definition with start, task1, task2, 
end.  I am able to complete the task1 when I start the process. In my web 
applicaiton I am reloading the StatefulKnowledgeSession from the database and  
I register a workitem handlder 
  
  
StatefulKnowledgeSession ksession = 
JPAKnowledgeService.+loadStatefulKnowledgeSession+(sessionid , kbase, **null);**

ksession.getWorkItemManager().registerWorkItemHandler("Human Task", th);


 
ksession.getWorkItemManager().completeWorkItem(wit.getId(), **null**);

the work item is not getting saved and wit.getId throwing null pointer 
exception.  the same taskhandler persists in the first task1 without any 
problem.

Any clues?  thanks for your help.



****TestWorkItemHandler th = *new*  TestWorkItemHandler();
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/615076#615076]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to