DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7527>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7527 If crosscontext is enabled in server.xml, Tomcat does not automatically expand WAR file Summary: If crosscontext is enabled in server.xml, Tomcat does not automatically expand WAR file Product: Tomcat 4 Version: 4.0.2 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have a WAR file named "MyAppl.war". I dont define anything about this WAR file in "server.xml", just place the file in CATALINA_HOME/webapps directory from where it is automatically unpacked and everything works fine. Now I want to be able to access other servlet contexts from it, and as it turns out by default crosscontext defaults to false for Tomcat 4.0.2 as opposed to the 3.x releases. So I go ahead and add the following to my server.xml : <Context path="/MyAppl" docBase="MyAppl" crossContext="true"/> Now, the WAR file is NOT automaticlly expanded. The log indicates that it errors out because the directory "MyAppl" does not exist. Shouldnt this directory be automatically created by Tomcat? If I manually expand the WAR file, everything works fine. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>