tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Context information outside of server.xml
Date Thu, 28 Jun 2007 14:59:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jake,

Jake Alley wrote:
> I've read that META-INF/context.xml only works with WAR files, and I
> don't use those.

Nope. If you are using auto-deploy (will do WAR files or directories),
then TC will respect the META-INF/context.xml file in either case.

> I'm putting the info in conf/Catalina/mydomain/ROOT.xml.  It doesn't
> seem to work.

Oh... the root context /is/ a little different, but you should be able
to use a directory called ROOT in your appbase (usually
$TOMCAT_HOME/webapps) with an appropriate context.xml file.

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

iD8DBQFGg8zq9CaO5/Lv0PARAuWLAJwMmfQUx4qvSG4Kems33vgoAQpw5gCgrnrP
WdF7YKYHm0OSAPPio3Oi7hU=
=iV5G
-----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