Caldarale, Charles R wrote:
>> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
>> Subject: Re: Multi processor issue
>>
>> "The Container Provider should ensure that the dispatch of the 
>> request to a target servlet occurs in the same thread of the 
>> same JVM as the original request."
> 
> I'm not sure the above is really pertinent to the issue, which I think
> can be boiled down to this:
> 
> Should a RequestDispatcher object be treated as if it were in the scope
> of a Request or instead in the scope of a Servlet?  The spec provides no
> definitive statement that I can find, but there are a couple of hints
> that a RequestDispatcher should be considered unique to each request.
> In particular:

What about RequestDispatcher ServletContext.getNamedDispatcher(String)

Since this method is at the Context level, any RequestDispatcher
obtained effectively has context wide scope. It is this method that
the OP is using and, given the non-threadsafe nature of
o.a.c.core.ApplicationDispatcher, this looks like a Tomcat bug to me.
I haven't had a chance to see how hard it might be to fix yet.

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to