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 40884] New: - New rules for docBase broke manager on multiple hosts
Date Fri, 03 Nov 2006 10:54:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40884>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40884

           Summary: New rules for docBase broke manager on multiple hosts
           Product: Tomcat 5
           Version: 5.5.20
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: regression
          Priority: P1
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mloiseleur@linagora.com


According to the doc (http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html) 

There are two ways to configure the Manager web application Context:

    * Install the manager.xml context configuration file in the
$CATALINA_HOME/conf/[enginename]/[hostname] folder.
    * Configure the Manager Context within the Host configuration in your Tomcat
server.xml configuration. Here is an example:

      <Context path="/manager" debug="0" privileged="true"
               docBase="/usr/local/kinetic/tomcat5/server/webapps/manager">
      </Context>


The first way works only in 5.5.9 
The second way works both in 5.5.9 and 5.5.20

I have put an eye on the code, the problem is here 
container/catalina/src/share/org/apache/catalina/startup/HostConfig.java:602:
{
  log.warn(sm.getString("hostConfig.deployDescriptor.localDocBaseSpecified",
                      docBase));
  // Ignore specified docBase
  context.setDocBase(null);
}

   When you copy the manager.xml, it needs a docBase, and it is specified in a
local way. 


There is 2 solutions to the problem :
1: Permits to set local doc Base and change the warning.
2: Update documentation to indicate there is no longer 2 ways to add manager on
multiple hosts

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message