Druid连接池创建,销毁失败

nihaoqy 发布于 2017/07/05 15:51
阅读 2K+
收藏 0

@wenshao 你好,想跟你请教个问题:在eclipse连接数据库Oracle12c时,启动tomcat,出现下面的错误:

七月 05, 2017 1:48:02 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [] appears to have started a thread named [Druid-ConnectionPool-Create-975502308] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1837)
七月 05, 2017 1:48:02 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [] appears to have started a thread named [Druid-ConnectionPool-Destroy-975502308] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Thread.sleep(Native Method)
 com.alibaba.druid.pool.DruidDataSource$DestroyConnectionThread.run(DruidDataSource.java:1911)
七月 05, 2017 1:48:02 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [] appears to have started a thread named [Druid-ConnectionPool-Create-423176807] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1837)
七月 05, 2017 1:48:02 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [] appears to have started a thread named [Druid-ConnectionPool-Destroy-423176807] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Thread.sleep(Native Method)
 com.alibaba.druid.pool.DruidDataSource$DestroyConnectionThread.run(DruidDataSource.java:1911)
七月 05, 2017 1:48:02 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [] appears to have started a thread named [Druid-ConnectionPool-Create-1159501466] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1837)
七月 05, 2017 1:48:02 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [] appears to have started a thread named [Druid-ConnectionPool-Destroy-1159501466] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Thread.sleep(Native Method)
 com.alibaba.druid.pool.DruidDataSource$DestroyConnectionThread.run(DruidDataSource.java:1911)
七月 05, 2017 1:48:02 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [] appears to have started a thread named [Druid-ConnectionPool-Create-173011328] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1837)
七月 05, 2017 1:48:02 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [] appears to have started a thread named [Druid-ConnectionPool-Destroy-173011328] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Thread.sleep(Native Method)
 com.alibaba.druid.pool.DruidDataSource$DestroyConnectionThread.run(DruidDataSource.java:1911)

加载中
返回顶部
顶部