You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/10/26 14:13:51 UTC
DO NOT REPLY [Bug 31892] -
Given Context-Path in Context-Descriptor ignored
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=31892>.
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=31892
Given Context-Path in Context-Descriptor ignored
------- Additional Comments From oliver.henning@aloba.ch 2004-10-26 12:13 -------
More debugging in Tomcat showed up, that the follwing path would be 'better'
instead of the one i descriped first. Sorry for that:
starting from line 572, HostConfig.java, Revision 1.48
------------------------------------------------------
[...] // existing code
context.setConfigFile(contextXml.getAbsolutePath()); // existing code
if(context.getName()!=null) //NEW
{ //NEW
contextPath=context.getName(); //NEW use Context in descriptor, when given
} //NEW
context.setPath(contextPath); // existing code
[...] // existing code
-------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org