I had to add the following before I saw that behavior. You'll have to check
the API, to make sure the minEvictableIdleTimeMillis and
timeBetweenEvictionRunsMillis are set correctly for your pool. But once I
added these, I would see abandoned connections get dropped.
I put these settings in, becau
We wrote a simple method to return some stats. It's kinda crude, and may not
be a 100% accurate, but here is what we did. Hope it helps. We used this
documentation here
http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/Basic
DataSource.html
public static void printDataSource
aniel,
Stephens, Daniel wrote:
> Does anyone know the main differences between
> commons-beanutils-1.7.0.jar and Tomcat's original
> common-beanutils.jar.
Try this:
$ unzip -p commons-beanutils.jar META-INF/MANIFEST.MF
This should give you information about what version you already have.
Does anyone know the main differences between commons-beanutils-1.7.0.jar
and Tomcat's original common-beanutils.jar. We have to do a project in
struts and want to use version 1.3.5. But we are wondering if I can just
deploy commons-beanutils-1.7.0.jar to the common/lib, and it not affect the
other