tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39987] - getServletContext().getContext("/context/subcontext") does not give matching "subcontext"
Date Sat, 08 Jul 2006 07:35:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39987>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39987





------- Additional Comments From charly41434@yahoo.de  2006-07-08 07:35 -------
(In reply to comment #2)
Thanks!
> This is a duplicate of bug 13040 and has been fixed for the 5.5.x branch
> including 5.5.17.
Sorry for the dup. I made a simple bugzilla search for "getContext" but I forgot 
to change the "status" from "open" to "all" (better the default would be "all")
> 
> It looks like your contexts are not correctly configured. You should use #
> rather than $ when defining context.xml files for sub-contexts so your file
> should be called context#sub.xml
I wished there would be some indication (warning or even error) in the logfiles 
that the path attribute of <context> deviates from what TC (5.5) has actually 
configured.
I know there is certainly some doc about this...
> 
> I have just re-tested 5.5.x and the behaviour is correct in this version.
I stumbled over this bug in 5.0.30  but I knew that this version is outdated and 
so uninteresting. So I made the (buggy) check against 5.5.17...

> 
> Please be aware that
> further development of the 5.0.x branch is unlikely.
I used 5.0.30 only because its a prerequisite for a purchased webapp.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message