tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Resource Questions
Date Mon, 29 Sep 2003 13:07:21 GMT


>I have configured a JDBC datasource Resource within a context in the
>and am able to retrieve and use the datasource without any problems.

I would stop here.  ;)  Don't use GlobalNamingResources unless you have
an overriding reason, as that's more of a tomcat-specific (rather than
servlet-spec) feature.  A resource-ref should be included in web.xml
(not webapp.xml, whatever that is) for a Resource defined in the
server's JNDI tree.  Otherwise the resource is not guaranteed to be
available to your webapp in different containers.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

View raw message