Hi, i do not think so, but what I did is to set an contex ROOT.xml (not sure the upper case is needed - i would think it is) and then set the docBase (relative to webapps or fully qualified) to your app eg.
./conf/Catalina/localhost/ROOT.xml <Context docBase="${catalina.base}/mydir/myapp" privileged="true" antiResourceLocking="false" antiJARLocking="false"> </Context> Rgds Fred Francis Galiegue wrote: > > Hello list, > > I use Tomcat 5.0.30 as a bare bones, no fuss webapp container, with a > very, very simple server.xml: > > <Server port="8005" shutdown="SHUTDOWN"> > <Service name="Catalina"> > <Connector port="8009" protocol="AJP/1.3" enableLookups="false" > URIEncoding="UTF-8" maxProcessors="0"/> > <Engine name="Catalina" defaultHost="localhost"> > <Host name="localhost" appBase="external-webapps" autoDeploy="false" > deployXML="false" unpackWARs="false"> > <Context docBase="/var/lib/tomcat5/webapps/one2team" path=""> > <!-- plus two loggers --> > </Context> > </Host> > </Engine> > </Service> > </Server> > > We use mod_jk at the Apache level to communicate with the webapp. > > Unfortunately, this configuration is a hack: > * the appBase in <Host> points to a non existing directory within > $CATALINA_HOME; > * the docBase of the only <Context> is an absolute path to the webapp > root. > > The problem is, we do _NOT_ want the webapp directory to be named > ROOT, we want it to remain one2team. And this is the only solution > I've found... > > Ideally, I'd have liked to not lie to <Host> and have a ROOT.xml in > Catalina/localhost saying that no, my webapp root directory is not > named ROOT, it's one2team, thank you very much. But no, this doesn't > work. > > As you can see, I also had to set autoDeploy to false, otherwise the > webapp was deployed twice: once under /, which is what we want, and > another time under /one2team, which we don't want either... > > Does tomcat5.5 remove this limitation? Or even tomcat 6.x? > > Thanks in advance, > -- > Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED] > One2team - 42 Av. Raymond Poincaré - 75116 PARIS > "When it comes to performance, weight is everything" - Tiff Needell > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-5.5.x-or-6.x%3A-ROOT-limitation-removed--tp16572902p16573847.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]