Pedro:
You are correcting in saying the <GlobalNamingResources> tag is used to declare global resource elements. For a context to use a global resource, all you have to do is put a <ResourceLink> tag inside the context to be able to refer to it using JNDI. If you need a more concrete example, let me know and I can supply you with how I have my database connections setup globally. Hope this helps, Ej psalazar <[EMAIL PROTECTED]>@vitoria.intra.cet.pt> on 10/16/2002 10:57:36 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> Sent by: <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> cc: Subject: global declaration of Resource/ResourceParams ********************************************************************************** Confidentiality Notice: This email message, including any attachments, contains or may contain confidential information intended only for the addressee. If you are not an intended recipient of this message, be advised that any reading, dissemination, forwarding, printing, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply message and delete this email message and any attachments from your system. ********************************************************************************** -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings, I wonder if is not possible to declare a <Resource>/<ResourceParams> in a global context to avoid the definition in my web application context, since I'm using the Catalina's Deploy/Undeploy tasks and when I redeploy a web application it removes the <ResourceParams> element inside, and I must define it again! I try to put it in a <defaultContext> element but after a restart of my tomcat (JWSDP context), it spawns through all the other applications, annoying my server.xml definition. BTW, what is the purpose of <GlobalNamingResources> since its existence (or not), the definition of my resources elements inside are not seen inside my web application!? thanks, Pedro Salazar. - -- pedro salazar (pt-inovacao) <[EMAIL PROTECTED]> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9rYxzDhKeMdgDvGERAun9AKCABn1YbA9lCoF+Ru89ZxoZKTQURQCeIqAG QY1bO+QDFmr74Fu1AAtdxtU= =j51K -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: < mailto:[EMAIL PROTECTED]> For additional commands, e-mail: < mailto:[EMAIL PROTECTED]> ********************************************************************************** Confidentiality Notice: This email message, including any attachments, contains or may contain confidential information intended only for the addressee. If you are not an intended recipient of this message, be advised that any reading, dissemination, forwarding, printing, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply message and delete this email message and any attachments from your system. ********************************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
