项目发布之后,莫名宕机,大家来看看是什么情况

马七甲 2015-10-16 10:26:48
 java.lang.Thread.sleep(Native Method)
org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:104)
15-Oct-2015 21:57:47.325 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] 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:41)
15-Oct-2015 21:57:47.355 INFO [Thread-5] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-7083"]
15-Oct-2015 21:57:47.357 INFO [Thread-5] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-7010"]
15-Oct-2015 21:57:47.358 INFO [Thread-5] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-7083"]
15-Oct-2015 21:57:47.358 INFO [Thread-5] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-7010"]


异常信息就是这样,不知道有谁遇到过这样的情况吗
...全文
304 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
jianchengss 2016-06-07
  • 打赏
  • 举报
回复
我在一个服务里也遇到了这个问题
 java.lang.Thread.sleep(Native Method)
 org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:104)
六月 07, 2016 3:53:51 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
六月 07, 2016 3:53:51 下午 org.apache.catalina.core.StandardContext reload
信息: Reloading Context with name [/diff] is completed
出错后服务自动重启了,我的原因是 在声明Logger的时候把后台服务中的Logger携程了
private static final Logger logger = Logger.getLogger(Client.class);
clsss写错了,Client.clsss在调用完就结束了,所以后台服务就出错了
tony4geek 2015-10-16
  • 打赏
  • 举报
回复
http://stackoverflow.com/questions/26168292/tomcat-complaining-about-memory-leak-due-to-open-connection-after-shut-due-to-jd

50,528

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧