Project: Tomcat
Bug 42678 docBase ignored even if its not a subdir of appBase
Reported: 2007-06-15 15:07:50 | Status: resolved fixed

I use latest 6.0 SVN snapshot. I store deployable WARs in "webapps-dist" (aside "webapps"). This is my setup: bash-3.2$ ls $CATALINA_BASE conf logs temp tomcat-dist webapps webapps-dist work bash-3.2$ ls webapps-dist sample.war bash-3.2$ cat conf/Catalina/localhost/sample.xml <Context docBase="${catalina.base}/webapps-dist/sample.war"/> this ends up in: WARNUNG: A docBase /home/juergen/java/tomcat/webapps-dist/sample.war inside the host appBase has been specified, and will be ignored

Files changed in fix:
java/org/apache/catalina/startup/HostConfig.java