tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Farbos <>
Subject HELP: How the DBCP works ? (and the JMXProxy)
Date Wed, 23 Mar 2005 16:40:05 GMT
Hi all (tomcat 5.5 developers),

In my context.xml, I use a DataSource like this :
<Resource auth="Container" name="myDB" type="javax.sql.DataSource" .../>
So, I suppose the dataSource.getConnection() is taken from DataBase Connection Pool...

1- But How do this works ?

2- If all my contexts have their own DataSource, each context have their own Pool ?

3- How Do I Manage these Pools ? 
I'd want to test with the JMX Proxy but I don't succeed in the good URL for asking the only
MBean I'm interested in...
I test :
I have a section with the desired MBean : 
Name: Catalina:type=DataSource,path=/myContext,host=localhost,class=javax.sql.DataSource,name="myDB"
But I don't succeed with :
or something like this...

I need help, please.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message