So after the first solution (official support for this in the servlet spec) is not available I agree that the next best thing is a puggable cross-context dispatcher. Any help here is really welcome!
Regards,
StefanSerge Huber wrote:
Hi Glenn,
Actually I do the same thing in my portal implementation for my software, I use the cross context feature of Jahia. So far I've managed to find similar features in the following application servers :
- WebLogic (although VERY buggy) - Orion Server (works) - Tomcat (the best, Craig and Remy did a great job here)
There might be more, so what Pluto will need is "pluggeable" cross context dispatcher. This is an area where I hope to be able to help because I have some experience in it. Unfortunately the specification did not want to go down this road, but maybe it will in the future if this is seen as too much of a barrier (personnally I want campaigning that it would but well). Also not that in the Servet API spec 2.4 there is clearer language about cross-context dispatching, so maybe this will help things too.
Regards, Serge Huber.
At 04:29 PM 10/6/2003 -0400, you wrote:
Ok, I see how it's defined for Pluto - with the pluto.xml in the webapps directory...
Still, this seems to tie Pluto into Tomcat by taking advantage of a non-standard feature.
- Glenn
On Monday, October 6, 2003, at 04:19 PM, Glenn R. Golden wrote:
I've looked in the pluto/WEB-INF/web.xml, the testsuite/WEB-INF/web.xml, and one I used "ant install" in pluto to insert, samples/WEB-INF/web.xml, and nowhere is there any <Context crossContext="true" ... />.
I've also just read the servlet spec, and didn't see any mention of this concept.
Where is this <Context> thing defined? Under what standard does it exist? Help!
* * *
Wait - I see <Context ... /> in the tomcat server.xml... is that what we are talking about? If so, did I miss some documentation that requests that I do something special with <context> in server.xml for Tomcat to make pluto work? I have not, and it does seem to work...
And if so, then Pluto is dependent on Tomcat, not on any Servlet 2.3 container, right?
Thanks.
- Glenn
On Friday, October 3, 2003, at 05:01 AM, Steven Parkes wrote:
The portal webapp in pluto requires <Context crossContext="true" .../>
and uses ServletContext.getContext to access portletapps. The portal
webapp and portletapps also have to share static class variables in the
portlet container, so the portlet container jar has to be in a directory
such as $CATALINA_HOME/shared/lib.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- -- --- -----=[ shuber2 at jahia dot com ]=---- --- -- - www.jahia.org : A collaborative source CMS and Portal Server
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
