WebLogic 12.2连接收集堆栈跟踪丢失

时间:2018-06-05 13:27:27

标签: weblogic12c

我们最近从WL 12.1升级到12.2。在12.1版本中(与12.2一样),有一个连接收集功能,它将强制关闭应用程序未正确关闭的连接:这是识别连接泄漏的好方法。在12.1,错误看起来像这样:

<Apr 25, 2017 7:59:18 AM EDT> <Warning> <JDBC> <BEA-001153> <Forcibly releasing inactive/harvested connection "weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection@1adc" back into the data source connection pool "StagePDS", currently reserved by: java.lang.Exception
        at weblogic.jdbc.common.internal.ConnectionEnv.setup(ConnectionEnv.java:352)
        at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:364)
        at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:330)
        at weblogic.jdbc.common.internal.HAConnectionPool.reserve(HAConnectionPool.java:205)
        at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:136)
        at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:165)
        at weblogic.jdbc.pool.Driver.connect(Driver.java:136)
        at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:662)
        at weblogic.jdbc.jts.Driver.connect(Driver.java:129)
        at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:553)
        at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:518)
        at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:511)
        at jsp_servlet._allocation.__ordererror._jspService(__ordererror.java:289)

在12.2上,错误看起来像这样:

<Jun 4, 2018, 12:05:56,333 AM EDT> <Warning> <JDBC> <BEA-001592> <Forcibly releasing inactive connection "weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection@50205cb" back into the data source connection pool "WmsPDS".>
<Jun 4, 2018, 12:05:56,333 AM EDT> <Warning> <JDBC> <BEA-001592> <Forcibly releasing inactive connection "weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection@50205e1" back into the data source connection pool "WmsPDS".>
<Jun 4, 2018, 12:05:56,334 AM EDT> <Warning> <JDBC> <BEA-001592> <Forcibly releasing inactive connection "weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection@502085f" back into the data source connection pool "WmsPDS".>

我们面临的差异和问题是,在12.2,我们似乎已经失去了收获特征的堆栈跟踪和有用性。是否有一些设置/配置来控制跟踪是否存在?

0 个答案:

没有答案