[jboss-user] [jBPM] - Re: SignalEvent issue in jBPMConsole

Darin Wilcox do-not-reply at jboss.com
Thu Sep 6 10:03:03 EDT 2012


Darin Wilcox [https://community.jboss.org/people/zoikks] created the discussion

"Re: SignalEvent issue in jBPMConsole"

To view the discussion, visit: https://community.jboss.org/message/758338#758338

--------------------------------------------------------------
Upon looking into this issue, it appears the problem actually stems from the way persistence is used.  When running stateless inside Eclipse, the issue is when the kcontext.getKnowledgeRuntime() from within the action node is returning a StatefulKnowledgeSessionImpl the same as what is being used by the other process signaling the event.  While in jbpm-console, the processes are started using an instance of CommandBasedStatefulKnowledgeSession and then while trying to fire from one process to the other is still using an instance of StatefulKnowledgeSessionImpl and they aren't finding each other.

It does seem like a bug that when the process is started using a CommandBasedStatefulKnowledgeSession that the kcontext should return the same instance of the StatefulKnowledgeSession implementation instead of returning a separate StatefulKnowledgeSessionImpl.  Can anyone comment on that or give some insights?

Thanks,

- Darin
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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/20120906/776f75d4/attachment.html 


More information about the jboss-user mailing list