tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Pringle <Jason.Prin...@amdocs.com>
Subject tomcat datasource definitions - shared vs individual
Date Tue, 01 Feb 2011 22:58:39 GMT

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html says "Any nested elements, e.g.
<Resource> elements, that are defined in a default Context will be created once for
each Context to which the default applies. They will not be shared between Context elements."

Default contexts:
$CATALINA_BASE/conf/context.xml
$CATALINA_BASE/conf/[engine]/[host]/context.xml.default

http://tomcat.apache.org/tomcat-7.0-doc/config/globalresources.html#Resource_Definitions describes
how to define a database pool that is shared across all Contexts (define the <Resource
/> within <GlobalNamingResources /> within $CATALINA_BASE/conf/server.xml).

Is there any way to define a global database pool without touching server.xml?

Thanks!

--Jason



This message and the information contained herein is proprietary and confidential and subject
to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message