That's what I am doing, but I want to avoid having to do that.  I would
rather have it all in one file so when I need to make changes I only have to
do it once.



-----Original Message-----
From: Pfingstl Gernot [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 13, 2005 1:32 AM
To: Tomcat Users List
Subject: AW: Sharing Data Sources

Did you try to define your datasource in <GlobalNamingResources>? And then
you only have to define a resource-link in your contexts.

-----Urspr�ngliche Nachricht-----
Von: Cook, Jared [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 12. Mai 2005 21:23
An: '[email protected]'
Betreff: Sharing Data Sources


 
I have a lot of virtual hosts that need access to a lot of the same
databases.  Security isn't an issue because they are all trusted sites.  I
would like to be able to share the ResourceLinks across all the virtual
hosts without having to have them all defined in every ROOT.xml.  Is there a
way to include a file in all my conf files?  Is there a way to globally
share out these datasources?
 
Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to