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

Ted,

Edward Pricer wrote:
| I have a web application that includes a jndi resource data
| source defined in context.xml. This is causing me problems when I
| deploy to different environments (test/production) because the data
| source parameters change. What is the preferred way to store such
| jndi information external to the war?

Instead of using <Resource> and specifying everything, you can use
<ResourceLink> element to link to a resource defined in server.xml.

This allows your ops team to define the resources globally and then each
application can link-into the one that it needs.

See
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Resource%20Links

- -chris

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

iEYEARECAAYFAkgDzZ0ACgkQ9CaO5/Lv0PD8yACcDTIiGpTKJ+lRJeN2saEdKCkX
w4wAn2Lqm5T6tAHIUN6SMctkpsEwTjMF
=Cf0b
-----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