Sorry,
I mixed up two different things: The EcsServletElement uses the
RequestDispatcher - that's absolutely safe.
I thought it'd open an URL connection (as it the DiskCach does) and this
would result in looping from the servlet container, through the web server
back to the servlet container - that's bad as you can deadlock the system
with this setup. We ran into this problem: A portlet used a servlet as a
connector to it's data. For demonstration purposes we tried to run this
connector servlet on the same machine... So don't use the DiskCache to
access servlets on the same machine.
ingo.
At 17:17 02/15/01, David Sean Taylor wrote:
>Ingo,
>
>What you wrote here is of interest to me:
>
> > (Note that the latter way is very easy, but it is generally
> > bad practise to
> > open HTTP connections from within a servlet container to a
> > servlet in the
> > same container. In systems under high load, the
> > EcsServletElement sould
> > only be used with remote servlets.)
>
>Isn't that what TurbineJspService does with a RequestDispatcher?
>This implies that the current Jetspeed/JSP impl. is 'bad practice'.
>
>Is this subject covered in the servlet spec?
>Could you point me to some sources on this subject?
>I'd like to learn more about the reasons why this is bad practice.
>
>If you remember, last week I posted a message about the Jetspeed-JSP code
>failing to run under one particular servlet container.
>Well, it turns out that problem is that the RequestDispatcher in
>TurbineJspService fails to include. I have reported a bug to the vendor,
>they have acknowledged that it is a bug, but I haven't heard back from them
>yet....
>
>Thanks,
>
>- david
>
>
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Search: <http://www.mail-archive.com/[email protected]/>
>List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]