Hello,

I understand that Tomcat (3.2.b6) has an implicit default place
to look
for webApps ($TOMCAT_HOME/webapps) but is there any
configuration
method (e.g. in server.xml) that will allow me to specify an
alternative
place to look?

Currently I'm working around the problem by providing absolute
paths for each Context's docBase. It would be nice to be able to
specify an
alternative 'contextRoot' for the Tomcat Instance such that I
would only need to specify a relative path in the docBase and
have tomcat implicitly append the 'contextRoot' to the docBase
path.

This would also simplify the case where the apps need to be
moved, en masse to another location, such that I'd only need to
point the 'contextRoot' to the new location.

So: the question again: Is there anyway to instruct Tomcat, by
default, to look somewhere other than $TOMCAT_HOME/webapps for
web application without hardcoding the absolute path to the
webapp in the docBase element of every context?

Thanks,

Thom


Reply via email to