By Date: <-- -->
By Thread: <-- -->

Can GlobalNamingResources be accessed without a ResourceLink



Worked like a charm.  I never claimed to be an expert.  Or even to know what
the hell I was doing :)

Thanks much!

On 7/31/06, Hassan Schroeder <hassan.schroeder (at) gmail.com> wrote:

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