tomcat 宕机???

发布于 2021-12-04 10:27:20 字数 9862 浏览 885 评论 1

24-Jun-2016 21:16:00.295 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8085"]

24-Jun-2016 21:16:00.346 INFO [Thread-6] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8019"]

24-Jun-2016 21:16:00.397 INFO [Thread-6] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina

24-Jun-2016 21:16:00.437 INFO [localhost-startStop-2] org.apache.catalina.core.StandardWrapper.unload Waiting for 1 instance(s) to be deallocated for Servlet [spring]

24-Jun-2016 21:16:01.439 INFO [localhost-startStop-2] org.apache.catalina.core.StandardWrapper.unload Waiting for 1 instance(s) to be deallocated for Servlet [spring]

24-Jun-2016 21:16:02.441 INFO [localhost-startStop-2] org.apache.catalina.core.StandardWrapper.unload Waiting for 1 instance(s) to be deallocated for Servlet [spring]

24-Jun-2016 21:16:02.672 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [SmartPan] 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.

24-Jun-2016 21:16:02.672 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [SmartPan] 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.

24-Jun-2016 21:16:02.673 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [SmartPan] appears to have started a thread named [Thread-5] 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)

 org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:95)

24-Jun-2016 21:16:02.674 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [SmartPan] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:

 java.lang.Object.wait(Native Method)

 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)

 com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:40)

24-Jun-2016 21:16:02.677 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [SmartPan] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:

 java.lang.Object.wait(Native Method)

 java.lang.Thread.join(Thread.java:1245)

 java.lang.Thread.join(Thread.java:1319)

 java.lang.ApplicationShutdownHooks.runHooks(ApplicationShutdownHooks.java:106)

 java.lang.ApplicationShutdownHooks$1.run(ApplicationShutdownHooks.java:46)

 java.lang.Shutdown.runHooks(Shutdown.java:123)

 java.lang.Shutdown.sequence(Shutdown.java:167)

 java.lang.Shutdown.exit(Shutdown.java:212)

 java.lang.Runtime.exit(Runtime.java:109)

 java.lang.System.exit(System.java:971)

 com.OP9.SmartPan.HDFS.SmartPanHDFSService.GetHDFSPath(SmartPanHDFSService.java:81)

 com.OP9.SmartPan.HDFS.SmartPanHDFSService.CreateHDFSFile(SmartPanHDFSService.java:104)

 com.OP9.SmartPan.Service.Impl.DirectoryServiceImpl.UpdateFileBySteam(DirectoryServiceImpl.java:1099)

 com.OP9.SmartPan.Controller.MainController.FileUpdate(MainController.java:50)

 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 java.lang.reflect.Method.invoke(Method.java:498)

 org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)

 org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

 org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)

 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)

 org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)

 org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)

 org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)

 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)

 org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)

 javax.servlet.http.HttpServlet.service(HttpServlet.java:648)

 org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)

 javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)

 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

 org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

 org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

 org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)

 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)

 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

 org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)

 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)

 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)

 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)

 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)

 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

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

 org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

 java.lang.Thread.run(Thread.java:745)

24-Jun-2016 21:16:02.682 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [SmartPan] created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Locale context]) and a value of type [org.springframework.web.servlet.DispatcherServlet$1] (value [zh_CN]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

24-Jun-2016 21:16:02.682 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [SmartPan] created a ThreadLocal with key of type [org.springframework.core.NamedThreadLocal] (value [Request attributes]) and a value of type [org.springframework.web.context.request.ServletRequestAttributes] (value [org.apache.catalina.connector.RequestFacade@6a790392]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

24-Jun-2016 21:16:02.696 INFO [Thread-6] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8085"]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

嘦怹 2021-12-04 13:15:39

 com.OP9.SmartPan.HDFS.SmartPanHDFSService.GetHDFSPath(SmartPanHDFSService.java:81)

这个类中有System.exit代码,好好检查一下

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文