I did end up trying it and it did work, I just didn't know if it was something 
that's frowned upon, or would for whatever reason was planned to be phased 
out/deprecated.
The resources are JDBC definitions.

-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abia...@formatdynamics.com
http://www.formatdynamics.com


> -----Original Message-----
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Tuesday, April 21, 2009 2:08 PM
> To: Tomcat Users List
> Subject: Re: GlobalNamingResources outside of server.xml
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Tony,
> 
> On 4/17/2009 1:01 PM, Anthony J. Biacco wrote:
> > I'd like to know if it's possible to now put the <Resource>
> directives
> > in a file separate from server.xml and still keep them global?
> 
> I don't believe Tomcat itself has any support for this type of thing.
> 
> > The
> > server.xml files in my production/dev/staging environments are
> > different, and I'd like to be able to just deploy a separate
> consistent
> > file for all environments.
> 
> What kind of resources are we talking about, here?
> 
> > Maybe something like using DOCTYPE/ENTITY?
> > <!DOCTYPE Server [
> >     <!ENTITY inc_resources SYSTEM
> "/opt/apps/tomcat/conf/resources.xml">
> > ]>
> > And then putting &inc_resources; inside the <GlobalNamingResources>
> > directive in server.xml
> 
> If the XML parser being used by Tomcat is willing to resolve the
> reference, then it would probably work. Did you try it? What happened?
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAknuJ5AACgkQ9CaO5/Lv0PDFjQCfW2nocpR9b1xnX5puIqq9KcE5
> YcgAnR9ZRNAiXeSQl67WojpmfQ2vZa35
> =qzRB
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to