[jboss-user] [jBPM] - Re: Is WorkingMemoryLogger working?

Mauricio Salatino do-not-reply at jboss.com
Tue Aug 23 09:40:29 EDT 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: Is WorkingMemoryLogger working?"

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

--------------------------------------------------------------
Yes I saw that behavior before. That's probably because the you are persisting the session and the Environment keeps a reference to the old entity manager that has some value cached. When you reinitialize the environment to load once again the session you clean that object and the session is restored completely fromt the BD and works again without an inconsistent state. 
If you think about the purpose of loading a session, is that you will load the session in a different thread where you need to initialize the environment once again. Cheers
--------------------------------------------------------------

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

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/20110823/0be2f060/attachment.html 


More information about the jboss-user mailing list