啟動錯誤筆記:DruidDriver] but failed to unregister it when the web application was stopped,To prevent a memory leak, the JDBC Driver has been forcibly unregistered.


嚴重: One or more Filters failed to start. Full details will be found in the appropriate container log file
五月 30, 2019 2:26:21 下午 org.apache.catalina.core.StandardContext startInternal
嚴重: Context [/intelcommunity-web] startup failed due to previous errors
2019-05-30 14:26:23.019 [LEVEL:INFO ] Scheduler JMSpringScheduler_$_DESKTOP-JUB6URM1559197576526 shutting down.
2019-05-30 14:26:23.019 [LEVEL:INFO ] Scheduler JMSpringScheduler_$_DESKTOP-JUB6URM1559197576526 paused.
2019-05-30 14:26:23.019 [LEVEL:INFO ] Scheduler JMSpringScheduler_$_DESKTOP-JUB6URM1559197576526 shutdown complete.
2019-05-30 14:26:23.023 [LEVEL:INFO ] atomikos connection pool 'system': destroying pool...
2019-05-30 14:26:23.026 [LEVEL:INFO ] atomikos connection pool 'com': destroying pool...
2019-05-30 14:26:23.027 [LEVEL:INFO ] [com.jimi.jmspring.core.tool.jtads.JMJTADS] close 動態JTA數據庫連接池資源釋放完成!
五月 30, 2019 2:26:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
嚴重: The web application [/intelcommunity-web] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
五月 30, 2019 2:26:23 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
嚴重: The web application [/intelcommunity-web] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
[2019-05-30 02:26:23,057] Artifact intelcommunity-web:war exploded: Error during artifact deployment. See server log for details.
五月 30, 2019 2:26:26 下午 org.apache.catalina.loader.WebappClassLoaderBase findResourceInternal
信息: Illegal access: this web application instance has been stopped already. Could not load . The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
五月 30, 2019 2:26:46 下午 org.apache.catalina.loader.WebappClassLoaderBase loadClass
信息: Illegal access: this web application instance has been stopped already. Could not load org.apache.commons.pool2.impl.EvictionConfig. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1777)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
at org.apache.commons.pool2.impl.GenericObjectPool.evict(GenericObjectPool.java:743)
at org.apache.commons.pool2.impl.BaseGenericObjectPool$Evictor.run(BaseGenericObjectPool.java:1036)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)

Exception in thread "commons-pool-EvictionTimer" java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/EvictionConfig
at org.apache.commons.pool2.impl.GenericObjectPool.evict(GenericObjectPool.java:743)
at org.apache.commons.pool2.impl.BaseGenericObjectPool$Evictor.run(BaseGenericObjectPool.java:1036)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.pool2.impl.EvictionConfig
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
... 4 more

 

 

如上這種錯誤  如果平時能運行得項目出現了,  要檢查一下web.xml監聽器 看是否有無效監聽器,

如果是idea    別只盯着Service   注意看 Tomcat localhost Log,搜索監聽器得類  應該就能找到結果

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM