Just to clarify something: Where are you specifying the global data sources?
In server.xml or ROOT.xml?

It should be in root. Just checking.

Second, what do you need to change? There is very little in the link to begin with. Since the change would affect all apps then I couldn't see needing to change anything of the link. Just change the global but leave the name the same.


Doug

----- Original Message ----- From: "Cook, Jared" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[email protected]>
Sent: Friday, May 13, 2005 10:08 AM
Subject: RE: Sharing Data Sources





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]





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



Reply via email to