[jboss-user] [JBoss Seam] - Think I found the problem
chris.morrisette
do-not-reply at jboss.com
Tue Dec 19 16:19:09 EST 2006
Ok. I think I found the problem in the class:
org.jboss.seam.interceptors.RemoveInterceptor
The line (77):
getComponent().getScope().getContext().remove( getComponent().getName() );
Will remove a bean with the specified name from the conversation associated with the current thread.
The problem is, that the current thread is cleaning up timed out conversations not associated with the current thread. Since, getComponent().getScope().getContext().remove( getComponent().getName() ); removes objects from the current thread (instead of the timed out thread) you end up having objects removed from the current threads conversation by accident.
I was also able to watch this happen in the Seam.debug servlet. Starting two conversations a minute after each other with the same Components loaded, and the component would be removed from the conversation associated with the current thread, not the thread that is timing out.
Thoughts? Am I completely wrong?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995123#3995123
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995123
More information about the jboss-user
mailing list