开发者社区> 问答> 正文

linux系统tomcat重启 ?

以下是启动是的错误信息:
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 21, 2015 4:26:24 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 21, 2015 4:26:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/26 config=null
Jan 21, 2015 4:26:24 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 16024 ms
Jan 21, 2015 4:26:28 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.springframework.core.NestedExceptionUtils. 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.WebappClassLoader.loadClass(WebappClassLoader.java:1566)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at org.springframework.core.NestedRuntimeException.getMessage(NestedRuntimeException.java:67)
at ch.qos.logback.classic.spi.ThrowableInformation.extractStringRep(ThrowableInformation.java:50)
at ch.qos.logback.classic.spi.ThrowableInformation.(ThrowableInformation.java:24)
at ch.qos.logback.classic.spi.LoggingEvent.(LoggingEvent.java:111)
at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:485)
at ch.qos.logback.classic.Logger.filterAndLog(Logger.java:479)
at ch.qos.logback.classic.Logger.info(Logger.java:585)
at com.xsc.lottery.task.ticket.TicketTreatmentWork$3.run(TicketTreatmentWork.java:410)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

不知道该怎么解决,请各位指点啊。。。。

展开
收起
爱吃鱼的程序员 2020-08-21 13:55:24 447 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    贴出来的错误信息不全,现在问题解决了,贴出来供大家参考:
    补上的报错信息
    严重:Thewebapplication[/CHJ_G4]appearstohavestartedathreadnamed[Timer-0]buthasfailedtostopit.Thisisverylikelytocreateamemoryleak.
    有一堆的这样的严重错误

    最后Google加百度,也没能找到具体的原因,根据查到的资料将tomcatserver.xml里两个监听器注释掉,现在项目可以正常运行。
    只是其中道理还是一头雾水
    下面是我注释掉的内容

    org.springframework.core.NestedExceptionUtils没法加载,你的spring有没有部署对

    加载出错了,包有没有安装好

    贴出来的错误信息不全,现在问题解决了,贴出来供大家参考:
    补上的报错信息
    严重:Thewebapplication[/CHJ_G4]appearstohavestartedathreadnamed[Timer-0]buthasfailedtostopit.Thisisverylikelytocreateamemoryleak.
    有一堆的这样的严重错误

    最后Google加百度,也没能找到具体的原因,根据查到的资料将tomcatserver.xml里两个监听器注释掉,现在项目可以正常运行。
    只是其中道理还是一头雾水
    下面是我注释掉的内容

    你注释的是什么啊,没看到啊

    2020-08-21 13:55:41
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Alibaba Cloud Linux 3 发布 立即下载
ECS系统指南之Linux系统诊断 立即下载
ECS运维指南 之 Linux系统诊断 立即下载