If you enable JMX management on the JVM you can connection with a tool like JConsole. Tomcat exposes all of the pool configuration and statistics as a JMX MBean which you can view in JConsole.

-Eric

Timothy Carroll wrote:
It appears that Andrew P. had done some work to create a DBCPDataSourceFactory class, but I don't believe that is in play; right?

So, if tomcat is setting up the database pool via JNDI, how can we see what it is using for DBCP default values?

Thanks Again, Tim

Jason Shao (CampusEAI Consortium) wrote:
On Mar 5, 2008, at 11:35 PM, Timothy Carroll wrote:

environment in question. A lot of the documentation and chat on this issue talks about ensuring that all cursors and result sets are closed when finished, but there is some speculation over how actively that has to be managed. Additionally, we have looked into the implications of connection pooling, and that seems to push the solutions into a more shadowy area.

Tim,

Just to clarify: you are seeing essentially a cursor leak, but *not* a connection leak? e.g. if you look at your DBCP status using JMX or the like, and on the Oracle side the number of open connections is relatively constant?

Jason

--
Open Source Developers: Love community and open source? Want to make it easier for schools to use? Our OpenSource group is hiring.
Email Jason Shao <[EMAIL PROTECTED]> to start a conversation.

--
Jason Shao
Director of Open Source Solutions
CampusEAI Consortium
1940 East 6th Street, 11th Floor
Cleveland, OH 44114
Tel: 216.589.9626x249
Fax: 216.589.9639



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to