-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mohammed,

Mohammed Zabin wrote:
> You know what? I am confusing with this. Shall i put the following code in
> web.xml in my web application or web.xml on config folder, shall i use
> server.xml or context.xml

Use META-INF/context.xml in your WAR file or deployment directory. Don't
use ${TOMCAT_HOME}/conf/Catalina/[host]/[app].xml unless there's a
really good reason to do so.

Put your <Resource> in context.xml and remove all <Resource>
configuration from server.xml.

Remove any <resource-ref> you have in your web.xml.

- -chris

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

iD8DBQFGVZCk9CaO5/Lv0PARAvY4AJ9LdP/csNjVWn3ZU9OVzv527gyWygCfTJmS
3EScAagRpgYlErF8uPLvF9E=
=MAx6
-----END PGP SIGNATURE-----

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

Reply via email to