JBoss连接池输出连接未关闭信息
一、修改log4j的配置,增加如下内容:
<category name=”org.jboss.resource.connectionmanager.JBossManagedConnectionPool”>
<priority value=”TRACE”/>
</category>
二、修改要监控的数据源配置,增加:
<track-statements>true</track-statements>
Tags: JBoss, 未关闭, 连接池
This entry was posted
on Monday, August 22nd, 2011 at 6:52 PM and is filed under Computer, Java.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.