tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: auto-run updated classes
Date Fri, 01 Feb 2008 15:20:34 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

David wrote:
| Where is the context element located (which xml file)?

You have a couple of choices. The easiest is to put a file in your
webapp called META-INF/context.xml (yes, that's META-INF, not WEB-INF)
that contains your <Context> definition.

If you are using a WAR file or deployment directory that is not in the
standard "webapps" directory for automatic deployment, then you'll have
to put your context.xml file in
$CATALINA_HOME/conf/[enginename]/[hostname]/mywebapp.xml. The name you
choose for the XML file will be the name of the "context". The special
name ROOT will make it the root application.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkejOMIACgkQ9CaO5/Lv0PCqcwCfUn+uaiZSvcW9Drjb4TxCKcVI
gksAn0Pco6AozfcQlDp3Q8FOngrU4/hc
=aQKY
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message