2008/4/9, Caldarale, Charles R <[EMAIL PROTECTED]>: [...] > > > > Well, this doesn't work for me :( > > > <Context docBase="/var/lib/tomcat5/webapps/one2team"> > > > <Logger className="org.apache.catalina.logger.FileLogger" > > prefix="tomcat-logger" suffix=".log" verbosity="2" > > timestamp="false"/> > > </Context> > > > Nor should it. Besides the double deployment already mentioned by David > S, you also have a <Logger> element, which disappeared some time ago. > RTFM: > http://tomcat.apache.org/tomcat-5.5-doc/logging.html >
Errr... OK. I don't know if you read the original message, but I have two loggers defined in the <Context>. I've ALWAYS had so, even when I created my unsuccessfull Catalina/localhost/ROOT.xml. In the original message, it says: <!-- plus two loggers --> The link you sent me to (BTW, I use Tomcat 5.0.30 for now which is why I asked whether 5.5.x or 6.x "lifted" the "limitation" I'm concerned about) doesn't indicate to my eyes in any way that my webapp would not be able to get deployed as /. If it does, then I'm missing something that I'd really like to be enlightened about. Seriously. I'll recall here what the server.xml is like , with the "plus two loggers" comment expanded to see what's really in there (remember: Tomcat 5.0.30, and I know, it's an old dog - migration to 5.5.x is planned very soon, hence my original mail): ---- <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=""> <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="tomcat-access" suffix=".log" rotatable="false" pattern="%a (%B bytes/%D msec) %s %r"/> <Logger className="org.apache.catalina.logger.FileLogger" prefix="tomcat-logger" suffix=".log" verbosity="2" timestamp="false"/> </Context> </Host> </Engine> </Service> </Server> ---- This particular configuration works as I expect: the webapp is NOT a war (and it's not even planned to be in the near future FWIW), it's located in the Context's docBase, but then I have to lie to <Host> and give it an appBase directory that doesn't even exist. Sure, I'd like to do it in a cleaner way but then there are elements over which I don't have control of - the two main of them being: the webapp lies in a directory, and the directory has to be named one2team... -- Francis Galiegue, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] One2team - 12bis rue de la Pierre Levée, 75011 Paris - 0143381980 "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]