tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: How to configure JNDI resource
Date Tue, 14 Dec 2010 10:18:45 GMT
On 13/12/2010 20:40, Christopher Schultz wrote:
> 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.

Intentional and documented.
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html

Mark

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


Mime
View raw message