I don't think there is an error. path="" has a special meaning, i.e. this is the default context. When a request fails to match any other context, the request is sent to the default context.
Internally, the default context is assigned the name "ROOT". That name is displayed in the startup messages you see and is used in other ways, such as the work directory name for the context. Consistent with this, auto-deployment of a web application named ROOT implies it should be the default context, and not served as "/ROOT". Cheers, Larry > -----Original Message----- > From: Duane Gran [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 1:41 PM > To: [EMAIL PROTECTED] > Subject: simple ContextManager question > > > Tomcat users, > > I'm running Tomcat 3.3 with multiple virtual hosts and using > the handy > feature where Tomcat reads the > $TOMCAT_HOME/conf/apps-user.xml files for > each web app. Things are working well, but I believe all the web > applications are being mapped to the /ROOT webapp, which isn't what I > want. I copied over the examples directory to each user's > area so they > would have their own "playground" so to speak. > > My reason for thinking this is because of the following output when > starting Tomcat: > > 2002-05-13 12:23:16 - ContextManager: Adding > dezrtfox.spinweb.net:/ROOT > 2002-05-13 12:23:16 - ContextManager: Adding > nickmain.spinweb.net:/ROOT > 2002-05-13 12:23:16 - ContextManager: Adding > cogsense.spinweb.net:/ROOT > 2002-05-13 12:23:16 - ContextManager: Adding > mudgecko.spinweb.net:/ROOT > 2002-05-13 12:23:16 - ContextManager: Adding jpinto.spinweb.net:/ROOT > > I've looked at the docs, but haven't found the source of my > error. If > things work correctly I should expect to see files generated from JSP > processing in the $TOMCAT_HOME/work/DOMAIN directory, but I > don't. This > leads me to think that Tomcat isn't mapping the context > correctly to the > directory I've specified. Just for kicks, here is one of my webapp > config files: > > <?xml version="1.0" encoding="ISO-8859-1"?> > <webapps> > <!-- Begin account nickmain --> > <Host name="nickmain.spinweb.net"> > <Context path="" > > docBase="/usr/local/apache/sites/anotherbigidea.com/htdocs" > debug="1" > reloadable="true"> > </Context> > <Alias>anotherbigidea.com</Alias> > </Host> > <!-- End account nickmain --> > </webapps> > > Can someone enlighten me on this? I would be very > appreciative and I'll > be glad to furnish more details. > > Duane > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>