[jboss-user] [jBPM] - Re: Problem with insertion of process instance into a knowledge session

Maciej Swiderski do-not-reply at jboss.com
Thu Oct 6 13:30:35 EDT 2011


Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: Problem with insertion of process instance into a knowledge session"

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

--------------------------------------------------------------
Hi Miljenko,

I just look at your case and I think that it is very strange behavior. I debug it a bit and it turned out that the issue is in fact related to the signal event. It is stored under externalEventListeners map of WorkflowProcessInstanceImpl which is a super class for RuleflowProcessInstance.
I made very quick change in that class to make this map transient - after that your process completed successfully with firing of the rule - since the process instance was found in the session.
I made yet another test to verify if that did brake anything (as far as I could test it) so I made your process run in two steps:
1. create process instance and dispose the session
2. load the session, load the process instance and signal it
all steps went fine, no exception whatsoever.

So question is why that map is not serialized and should it be serialized? I thought events are kept in DB...

what do you think about it?
--------------------------------------------------------------

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

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/20111006/bc37c848/attachment.html 


More information about the jboss-user mailing list