Bug 46587 - On Startup Tomcat Incorrectly Reports that docBase is Inside appBase, Ignores docBase
Summary: On Startup Tomcat Incorrectly Reports that docBase is Inside appBase, Ignores...
Status: RESOLVED DUPLICATE of bug 42678
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 6.0.16
Hardware: All Linux
: P3 minor (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2009-01-22 04:22 UTC by Richard
Modified: 2009-01-22 04:57 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2009-01-22 04:22:58 UTC
$CATALINA_BASE/conf/[engine]/[host]/someApp.xml contains a context element with docBase set to "/opt/apache-tomcat-6.0.16/webappsProduct/someApp"

The appBase on the containing host element is set to "webapps".

When I start Tomcat, it incorrectly reports the following

"WARNING: A docBase $CATALINA_BASE/webappsProduct/someApp inside the host appBase has been specified, and will be ignored"

Naturally, the docBase does not sit within the appBase but I suppose because my docBase begins with "webapps" that it fails this validation. I have verified that this occurs with a number of docBases that begin with "/webapps*/". 

This is not a pressing issue for me, I just changed the docBase to something that does not begin with "webapps", but as I did not find this defect on record I thought I would raise it.
Comment 1 Konstantin Kolinko 2009-01-22 04:57:01 UTC
Thank you for the report. It is already fixed in 6.0.18 release.

*** This bug has been marked as a duplicate of bug 42678 ***