[jboss-user] [jBPM] - jBPM in Websphere
John Soundrakumar
do-not-reply at jboss.com
Thu Jul 14 00:31:52 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110714/12ae5ffd/attachment.html
More information about the jboss-user
mailing list