tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to configure JNDI resource
Date Mon, 13 Dec 2010 20:40:16 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 12/13/2010 3:21 PM, Mark Eggers wrote:
> In order to use the resource, you'll need to tell your application about it 
> (resource-ref in web.xml), and create it (Resource in context.xml or 
> server.xml). Where you put the creation depends on your requirements.

My experience with Tomcat 5.5 and 6.0 is that when the resource is
defined in META-INF/context.xml, no <resource-ref> is necessary in
web.xml. I'm not sure if that's intentional or not.

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

iEYEARECAAYFAk0GhLAACgkQ9CaO5/Lv0PC3igCeP85AKX62BbcAhZUSjJiwzFJ1
CyUAnR9YlmRNZOfo8QQk4JVEbcNpHtUG
=w0dE
-----END PGP SIGNATURE-----

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


Mime
View raw message