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:
Context
Resource name=*@tomcat.context.ece.read.ds.resource@* auth=*Container
type=@tomcat.context.driver.type@ driverClassName=
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
Thanks Mark.
Can you confirm that I can have one data source shared across all contexts
with the following configurations:
In CATALINA_BASE/conf/server.xml, I define a GlobalNamingResource as
follows:
GlobalNamingResources
...
...
Resource name=*@tomcat.context.ece.read.ds.resource@*
Anurag Kapur wrote:
Thanks Mark.
Can you confirm that I can have one data source shared across all contexts
with the following configurations:
In CATALINA_BASE/conf/server.xml, I define a GlobalNamingResource as
follows:
GlobalNamingResources
...
...
Resource
Perfect Thanks!
The type I use would be:
jhttp://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html
avax.sql.DataSource
(I was using untokenized reference in my example)
Thanks for your help.
Regards
Anurag
--
Anurag