Greetings,
Wow. You found the manager.xml file under "$CATALINA_HOME/webapps/host-manager/"? Did you also find a manager.xml under "$CATALINA_HOME/webapps/tomcat-docs" or "$CATALINA_HOME/webapps/jsp-examples"? According to the "Professional Apache Tomcat 5" (PAT5) book:
Quote:
|
Originally Posted by PAT5 book
The manager.xml file is located under $CATALINA_HOME/webapps/ for Tomcat 4.1 and under the application base for your host in Tomcat 5.x (e.g. $CATALINA_HOME/conf/Catalina/localhost/). If you have multiple virtual hosts, you need to configure a manager for each virtual host via a manager.xml file.
|
From my experience, the manager.xml file goes under $CATALINA_HOME/conf/Catalina/localhost/. As an example, here is a default manager.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
Context configuration file for the Tomcat Manager Web App
$Id: manager.xml 565211 2007-08-13 00:09:38Z markt $
-->
<Context docBase="${catalina.home}/server/webapps/manager"
privileged="true" antiResourceLocking="false" antiJARLocking="false">
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
</Context>
This was pulled from a Tomcat 5.5.28 implementation. Look familiar?
Now, according to the "PAT5" book, you need 2 things for proper configuration of the Manager app;
manager context entry and
deployment descriptor. The manager.xml is the deployment descriptor, but you have to have the Context entry in $CATALINA_HOME/conf/server.xml.
From here, if we want to go any further in figuring out which configurations you need, we would need to know the exact version of Tomcat you are running.
HTH. Let us know.