[jboss-user] [jBPM] - Re: KnowledgeBase keeps links to stateful sessions after disposing

Tihomir Surdilovic do-not-reply at jboss.com
Wed Dec 7 08:39:45 EST 2011

Tihomir Surdilovic [http://community.jboss.org/people/tsurdilovic] created the discussion

"Re: KnowledgeBase keeps links to stateful sessions after disposing"

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

Your sample code uses stateless sessions, not stateful, so not sure where dispose applies here. Stateless sessions are fire-and-forget. So once you execute it, you should set it to null in your example, otherwise yes the reference to it will keep existing.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111207/1280a3e1/attachment-0001.html 

More information about the jboss-user mailing list