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=33224>. 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=33224 Summary: when webapp config file and directory URL is specified, directory information is lost Product: Tomcat 5 Version: 5.0.28 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Using the manager context, one can specify a context configuration file and directory URL when deploying a context. The context.xml file is copied to the webapps directory in tomcat disregarding the directory URL. This means that when tomcat is restarted, tomcat does not have the correct location of the webapp. I think I have been able to track this down. Line 4077 in revision 1.130.2.5 of org.apache.catalina.core.StandardContext has the following algorithm: if context configuration file is not specified, create a default context configuration file. else copy the specified configuration file verbatim. It seems that instead of copying the configuration file verbatim, it should add/overwrite the docBase attribute of the Context element if a different docBase (webapp directory URL) is specified. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]