tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob S." <rsli...@home.com>
Subject RE: tomcat.conf vs tomcat-apache.conf
Date Thu, 13 Jul 2000 15:39:00 GMT
Hi Jeff,

> Well I think that they are working on some automatic context detection for
> 3.2 which would make server.xml automatically generated with the right
> contexts for whatever webapps you have deployed (or in .war files which it
> will automatically expand even in 3.1). For now though, we do have to
> manually code the contexts in ourselves :(

There's a subtle difference between having the contexts automagically loaded
and having your server.xml auto-generated.

As an illustation, commen out all of your Context entries from server.xml.
Stop and restart Tomcat.  Providing your $TOMCAT_HOME/webapps directory is
setup correctly, when you "cat" the tomcat.log file, you should see a number
of Contexts being automatically loaded.

This doesn't modify your server.xml file, but the end result is the same
thing =)

- r


Mime
View raw message