> From: Molina, Teresa [mailto:[EMAIL PROTECTED] 
> Subject: RE: moving the context xml from $CATALINA_BASE/conf/
> 
> we had configured a default context to define the jdbc connections 
> commonly used by our multiple webapps (we are running more than a 
> dozen webapps under one Tomcat JVM, basically all using the same DB 
> connection resources). Previously, the context element
> (defaultContext) was contained within the server.xml itself, and we 
> were able to place that xml file in multiple paths on our system, 
> using the "-config {path}" option when calling startup.sh.

Can you accomplish the same thing by using <ResourceLink> elements in
conf/context.xml, and then placing an appropriate
<GlobalNamingResources> element in each server.xml, as specified by
-config?  Take a look at:
http://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to