Tom Burke wrote: > Now I am trying to replicate the configuration on a Linux server.
And there's no difference, other than the direction of the path separators :-) > I have > configured a second host entry in server.xml, it has a doc-base and the > doc-base directory exists. I am now trying to make the Manager/html > application visible from this virtual host - obviously, or I won't be > able to deplay Wars to it. However when I enter the URL to start the > manager/html app, I get the login box, I log in and then I get a screen > that says: 'The requested resource (Servlet HTMLManager is not > available) is not available'. > > I've noticed a big difference between the Windows installation and the > Linux one. The Windows version has a ROOT directory in each doc-base > directory, and it was the fact that this was not in the virtual hosts's > doc-base directory that was preventing it from working. On the linux > server, however, there is no ROOT directory in either doc-base > directory, either the default one (webapps) or the v-host's. You keep referring above to "doc-base", but it sounds like you mean "appBase". A Host has an *appBase* for its contexts, a *Context* has a docBase. From my prior example: > You have two hosts, 'serverA' and 'serverB'; create Host elements > for each of them. Set the ROOT context of 'serverA' to your appA, > and the ROOT context of 'serverB' to your appB. > > <Host name="serverA" appBase="/apps/A"></Host> > > <Host name="serverB" appBase="/apps/B"></Host> Note that "appBase" is set for each. Now you can either create the directories, e.g. '/apps/A/ROOT/' or deploy '/apps/A/ROOT.war' You'll need to describe each webapp in either e.g. $CATALINA_HOME/conf/Catalina/serverA/ROOT.xml or /apps/A/ROOT/META-INF/context.xml To use the manager on each, copy the provided 'manager.xml' file into each of $CATALINA_HOME/conf/Catalina/serverA/manager.xml $CATALINA_HOME/conf/Catalina/serverB/manager.xml Now you should be able to get to 'http://serverA/manager/html' and 'http://serverB/manager/html' (after a Tomcat restart, of course). HTH! -- Hassan Schroeder ----------------------------- [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]