I had to specify the full path to the manager app to get it to work for virtual hosts. Because manager is mounted at /manager, but is actually installed at /usr/local/catalina/webapps/manager. If you just specify "manager" for docbase it looks for it at /home/infoelog/website/manager
Here is my manager context definition (for each virtual host): <!-- Tomcat Manager Context --> <Context path="/manager" docBase="/usr/local/catalina/webapps/manager" debug="0" privileged="true" /> Also, if you are using Apache with Tomcat, you will have to mount it in httpd.conf too (for each virtual host): WebAppDeploy manager conn /manager -August --- Frank Gadegast <[EMAIL PROTECTED]> wrote: > > Hi, > > (short: how to configure, start and use managers for virtual hosts ?) > > Have a tomcat 4.1 server running on a server with several IPs. > Beside the usual default host, there are two other virtual hosts. > > Problem: calling the manager via > http://<IP>:7100/manager/list > list only the contexts defined in the default host, whatever IP I > use. > > Trying to call the manager of the virtual hosts via > http://<hostname>:7100/manager/list > always results in a > Apache Tomcat/4.0.1 - HTTP Status 404 - > /manager/list > type Status report > message /manager/list > description The requested resource (/manager/list) is not > available. > > > A typical virtual host configuration looks like: > > <Host name="www.infoelog.net" debug="0" > appBase="/home/infoelog/website" unpackWARs="true"> > > <Valve className="org.apache.catalina.valves.AccessLogValve" > directory="logs" > prefix="tomcat_access_log.www.infoelog.net" suffix=".txt" > pattern="common"/> > > <Context path="/manager" docBase="manager" debug="0" > privileged="true"/> > > <Context path="/" > docBase="/home/infoelog/website/" > crossContext="false" > debug="0" > reloadable="true" /> > > <Context path="/servlet" > docBase="/home/infoelog/website/servlet" > crossContext="false" > debug="0" > reloadable="true" /> > </Host> > > Surely both virtual hosts work perfectly, except the manager ... > > Whats wrong ? > > > > Any help appriciated, Frank > -- > PHADE Software - PowerWeb > http://www.powerweb.de > Inh. Dipl.-Inform. Frank Gadegast > mailto:[EMAIL PROTECTED] > Otto-Nagel-Str. 1a fon: +49 331 > 2370780 > 14467 Potsdam, Germany fax: +49 331 > 2370781 > ====================================================================== > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>