[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-618) Removing conversation components from current thread instead of timed-out thread
Chris Morrisette (JIRA)
jira-events at jboss.com
Tue Dec 19 17:44:38 EST 2006
[ http://jira.jboss.com/jira/browse/JBSEAM-618?page=comments#action_12349099 ]
Chris Morrisette commented on JBSEAM-618:
-----------------------------------------
Tested, looks to be fixed. Thanks for the quick turnaround.
> Removing conversation components from current thread instead of timed-out thread
> --------------------------------------------------------------------------------
>
> Key: JBSEAM-618
> URL: http://jira.jboss.com/jira/browse/JBSEAM-618
> Project: JBoss Seam
> Issue Type: Bug
> Components: Remoting
> Affects Versions: 1.1.0.GA
> Environment: jboss-4.0.5.GA
> Seam 1.1.0.GA
> jdk1.5.0_09
> Reporter: Chris Morrisette
> Assigned To: Gavin King
> Priority: Blocker
> Fix For: 1.1.1.GA
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list