tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Steffan <a.stef...@s2neueinformatik.de>
Subject Re: Bug with contextInitialized using otherServletContext.getContext ?
Date Tue, 16 Nov 2004 00:11:28 GMT
Hallo Yoav,

Shapira, Yoav wrote:
> Hi,
> 
> 
>>The application (portlet-application) getting the contextInitialized()
>>event is using another apps (the portals) ServletContext.getContext()
> 
> to
> 
>>obtain a reference to the portlet-applications ServletContext and fails
>>because of the null return value.
> 
> 
> Are both of these contexts configured with crossContext="true"?  That's
> required for Tomcat's getContext() calls to return non-null values.
> It's disabled by default for security.

Yes, crossContext is set to true.

> However, first let's see if setting crossContext="true" brings the
> behavior you desire.  I should have mentioned this in my first response.

No problem, even though I mentioned it in my initial posting. ;)

To be honest, my feeling is that Vignette might be correct here and that
this could indeed be a bug in tomcat.

What do you think ?
-- 
thanks so far,

Andreas Steffan
Entwicklung

a.steffan@s2neueinformatik.de

T: +49.40.80 81 69-634
F: +49.40.80 81 69-808

SinnerSchrader Neue Informatik	
 >> Software. Design. Interfaces.	
http://www.s2neueinformatik.de/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message