首页新闻找找看学习计划

急!!! Web应用程序 [XXX] 注册了JDBC驱动程 序 [oracle.jdbc.OracleDriver],但在Web应用程序停止时无法注销它。 为防止内存泄漏 ,JDBC驱动程序已被强制取消注册。

0
悬赏园豆:10 [待解决问题]

本地tomcat能正常运行,但是换个环境不行了
如果可以的话 有大神能给我说说xp中安装jdk1.8怎么个装法吗
02-Dec-2019 15:17:22.453 信息 [main] org.apache.coyote.AbstractProtocol.pause Pa
using ProtocolHandler ["http-nio-8081"]
02-Dec-2019 15:17:22.468 信息 [main] org.apache.coyote.AbstractProtocol.pause Pa
using ProtocolHandler ["ajp-nio-8008"]
02-Dec-2019 15:17:22.500 信息 [main] org.apache.catalina.core.StandardService.st
opInternal Stopping service [Catalina]
2019-12-02 15:17:22.500 INFO 9636 --- [ost-startStop-1] o.s.s.c.ThreadPoolTaskS
cheduler : Shutting down ExecutorService 'taskScheduler'
2019-12-02 15:17:22.500 INFO 9636 --- [ost-startStop-1] o.s.s.concurrent.Thread
PoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
02-Dec-2019 15:17:22.531 警告 [localhost-startStop-1] org.apache.catalina.loader
.WebappClassLoaderBase.clearReferencesJdbc Web应用程序 [crm2a8] 注册了JDBC驱动程
序 [oracle.jdbc.OracleDriver],但在Web应用程序停止时无法注销它。 为防止内存泄漏
,JDBC驱动程序已被强制取消注册。
02-Dec-2019 15:17:22.531 警告 [localhost-startStop-1] org.apache.catalina.loader
.WebappClassLoaderBase.clearReferencesThreads The web application [crm2a8] appea
rs to have started a thread named [scheduling-1] but has failed to stop it. This
is very likely to create a memory leak. Stack trace of thread:
java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:
206)
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
java.net.Socket.connect(Socket.java:589)
oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:149)
oracle.net.nt.ConnOption.connect(ConnOption.java:133)
oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:405)
oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:454)
oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:693)
oracle.net.ns.NSProtocol.connect(NSProtocol.java:251)
oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1140)
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:340)
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:553)
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:254)
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)

oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:528)
com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136
)
com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceU
tils.java:157)
org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceU
tils.java:115)
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUti
ls.java:78)
org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringMa
nagedTransaction.java:82)
org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringMan
agedTransaction.java:68)
org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:338)
org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:
84)
org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62)
org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:326
)
org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156)
org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109)
com.github.pagehelper.PageInterceptor.intercept(PageInterceptor.java:143)
org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
com.sun.proxy.$Proxy86.query(Unknown Source)
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSessi
on.java:148)
org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSessi
on.java:141)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTe
mplate.java:433)
com.sun.proxy.$Proxy65.selectList(Unknown Source)
org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230)
org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139)
org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76)
org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59)
com.sun.proxy.$Proxy69.listCusPayMaster(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtil
s.java:343)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(Re
flectiveMethodInvocation.java:198)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflective
MethodInvocation.java:163)
org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invo
ke(PersistenceExceptionTranslationInterceptor.java:139)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflective
MethodInvocation.java:186)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.
java:212)
com.sun.proxy.$Proxy70.listCusPayMaster(Unknown Source)
com.cwca.module.fwf.service.impl.FwfServiceImpl.listCusPayMaster(FwfServiceImpl
.java:38)
com.cwca.module.timing.fwf.FwfTiming.insertTempTiming(FwfTiming.java:50)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMet
hodRunnable.java:84)
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(Dele
gatingErrorHandlingRunnable.java:54)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301
(ScheduledThreadPoolExecutor.java:180)
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedu
ledThreadPoolExecutor.java:294)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

java.lang.Thread.run(Thread.java:748)
02-Dec-2019 15:17:22.546 严重 [localhost-startStop-1] org.apache.catalina.loader
.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [crm2a8]
created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang
.ThreadLocal@110d433]) and a value of type [org.apache.ibatis.executor.ErrorCont
ext] (value [

The error may exist in file [D:\SETUP\apache-tomcat-crm2a8\webapps\crm2a8\WE
B-INF\classes\mapper\fwf\dao1\A8FwsDao.xml]

The error may involve com.cwca.module.fwf.dao.dao1.A8FwsDao.listCusPayMaster

The error occurred while executing a query]) but failed to remove it when th

e web application was stopped. Threads are going to be renewed over timsdse to try
and avoid a probable memory leak.
02-Dec-2019 15:17:22.562 信息 [main] org.apache.coyote.AbstractProtocol.stop Sto
pping ProtocolHandler ["http-nio-8081"]
02-Dec-2019 15:17:22.562 信息 [main] org.apache.coyote.AbstractProtocol.stop Sto
pping ProtocolHandler ["ajp-nio-8008"]
02-Dec-2019 15:17:22.562 信息 [main] org.apache.coyote.AbstractProtocol.destroy
正在摧毁协议处理器 ["http-nio-8081"]
02-Dec-2019 15:17:22.562 信息 [main] org.apache.coyote.AbstractProtocol.destroy
正在摧毁协议处理器 ["ajp-nio-8008"]

问题补充:

tomcat启动到上面日志的最后强退了

news_out的主页 news_out | 初学一级 | 园豆:192
提问于:2019-12-03 09:30
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册