Can GlobalNamingResources be accessed without a ResourceLink
- From: "Hassan Schroeder" <hassan.schroeder (at) gmail.com>
- Date: Mon, 31 Jul 2006 07:07:40 -0700
On 7/31/06, David Uctaa <ductaa (at) gmail.com> wrote:
I am running Tomcat 5.5.16, and I have a couple of DataSources set up in the
GobalNamingResources section of my server.xml. Now, I preferably want to be
able to access these resources without having to set up a separate <Context>
section for each application, so I can deploy new applications that access
these resources without having to modify my server configuration.
So don't put your Context elements in server.xml -- put them in your
new webapp's META-INF/context.xml, where they should be anyway :-)
--
Hassan Schroeder ------------------------ hassan.schroeder (at) gmail.com
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org