tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27108] New: - Moving CATALINA_BASE lets manager app fail
Date Fri, 20 Feb 2004 13:03:14 GMT
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=27108>.
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=27108

Moving CATALINA_BASE lets manager app fail

           Summary: Moving CATALINA_BASE lets manager app fail
           Product: Tomcat 5
           Version: 5.0.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Webapps:Manager
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: florian.ebeling@gmx.de


When one tries to move CATALINA_BASE to a location that differs from
CATALINA_HOME, then the initialisation of the manager app fails. This
is due to the relative docBase attribute value used in the manager.xml
Context-XML-fragment. It starts with:

<Context path="/foobar" docBase="../server/webapps/manager" debug="0" 
privileged="true">

Changing this as to use the ${catalina.home} property fixes the problem:

<Context path="/foobar" docBase="${catalina.home}/server/webapps/manager" 
debug="0" privileged="true">

The same applies to the admin webapp. Therefore, I suggest changing those two
Context.docBase entries.

-Florian Ebeling

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message