datasource in server.xml file

Hi,

My server.xml file is very long and not very modular because I have repeated the datasource I need within each context element.

I understand that there might be a way of puting the datasource tags  in somewhere which will be picked up by all of my context elements.

For example in hte global naming resources section.  Does anyone know how to do that?
rosshindAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Tommy BraasConnect With a Mentor Commented:
Hi rosshind,

Why don't you just add your shared datasource entries in the <DefaultContext> tag? And then add a <res-ref-name> and a <res-type> in the web.xml file.

Cheers!

\tt
0
All Courses

From novice to tech pro — start learning today.