JBoss Community

jBPM in Websphere

created by John Soundrakumar in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community