tomcat异常,请大佬们看看

信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
三月 09, 2021 3:57:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
三月 09, 2021 3:57:12 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
三月 09, 2021 3:57:12 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 731 ms
三月 09, 2021 3:57:12 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
三月 09, 2021 3:57:12 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.56
三月 09, 2021 3:57:12 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /opt/commsoft/tomcat/webapps/pbc
三月 09, 2021 3:57:12 下午 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(/opt/commsoft/tomcat/webapps/pbc/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
三月 09, 2021 3:58:07 下午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
三月 09, 2021 3:58:07 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/pbc] startup failed due to previous errors
三月 09, 2021 3:58:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/pbc] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
三月 09, 2021 3:58:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/pbc] appears to have started a thread named [schedulerFactoryBean_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2021 3:58:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/pbc] appears to have started a thread named [schedulerFactoryBean_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2021 3:58:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/pbc] appears to have started a thread named [schedulerFactoryBean_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2021 3:58:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/pbc] appears to have started a thread named [schedulerFactoryBean_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2021 3:58:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/pbc] appears to have started a thread named [schedulerFactoryBean_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2021 3:58:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/pbc] appears to have started a thread named [schedulerFactoryBean_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2021 3:58:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/pbc] appears to have started a thread named [schedulerFactoryBean_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2021 3:58:07 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
...skipping...
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 6:46:23 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 6:50:13 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 6:52:23 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 6:55:33 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 6:57:03 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 7:00:23 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 7:00:43 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 7:01:13 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 7:02:43 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 7:04:33 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
三月 09, 2021 7:05:43 下午 org.apache.catalina.loader.WebappClassLoader findResourceInternal
信息: Illegal access: this web application instance has been stopped already.  Could not load oracle/sql/converter_xcharset/lx20354.glb.  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.
(END) 

 

报错是:当web应用程序停止时,无法注销它。为了防止内存泄漏,JDBC驱动程序被强制取消注册。

1.端口被占用了

2.不是1的话,查看tomcat的日志,了解详情

数据库连接池连接有问题,你把定时任务先关了,清空一下jdbc连接,然后重启试试。