Anurag Kapur wrote:
> Tomcat version: 5.5.27
> Java version: 1.5.0_14-b03
> 
> I have a datasource configured in global context (via present in
> [tomcat_home]/conf/context.xml) as follows:

<snip/>

> I know a DS defined as above is visible across all the contexts defined in
> the container. What I want to know is whether the data source is created for
> "each" context or is it "shared" across all the available contexts?

One DS is created for each context.

If you want a single DS, create it is a global resource and then
reference the global resource from CATALINA_BASE/conf/context.xml

Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to