Yes ProcessInstance is being persisted, the exception only happens now and then when the
MDB starts the process before the jsp commits the transaction. When the MDB processes the
request after the jsp closes the jbpmContext, it works fine.
| SELECT JBPM_PROCESSINSTANCE.ID_,
| JBPM_PROCESSINSTANCE.START_,
| JBPM_PROCESSINSTANCE.END_,
| JBPM_PROCESSINSTANCE.ROOTTOKEN_,
| JBPM_NODE.NAME_
| FROM JBPM_PROCESSINSTANCE,
| JBPM_TOKEN,
| JBPM_NODE
| WHERE JBPM_PROCESSINSTANCE.ROOTTOKEN_ = JBPM_TOKEN.ID_
| AND JBPM_TOKEN.NODE_ = JBPM_NODE.ID_
| ORDER BY JBPM_PROCESSINSTANCE.START_
|
| output:
|
| ID_ START_ END_ ROOTTOKEN_ NAME_
| ------ ----------------------- ----------------------- ------------- --------
| 696 2007-01-29 20:34:51.532 2007-01-29 20:34:57.003 697 end1
| 700 2007-01-29 20:34:52.704 2007-01-29 20:34:58.772 701 end1
| 704 2007-01-29 20:34:57.976 (null) 705 state1
| 708 2007-01-29 20:34:58.551 2007-01-29 20:35:00.627 709 end1
|
|
Thanks,
Délio Guerra
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008308#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...