You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/11/03 11:54:53 UTC

DO NOT REPLY [Bug 40884] New: - New rules for docBase broke manager on multiple hosts

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


DO NOT REPLY [Bug 40884] - New rules for docBase broke manager on multiple hosts

Posted by bu...@apache.org.
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


mloiseleur@linagora.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|other                       |All




-- 
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


DO NOT REPLY [Bug 40884] - New rules for docBase broke manager on multiple hosts

Posted by bu...@apache.org.
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


mloiseleur@linagora.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From mloiseleur@linagora.com  2006-11-03 05:35 -------
Oups sorry, it was caused by an invalid appBase.
In my server.xml, there was appbase="..." instead of appBase="..."



-- 
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