org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
错误日志
29-Apr-2020 10:07:43.591 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance.
29-Apr-2020 10:07:43.591 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]
29-Apr-2020 10:07:43.628 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
29-Apr-2020 10:07:43.737 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [BgWebServices] appears to have started a thread named [Thread_JPI_Background_Care] 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)
de.rochade.util.RoBackGroundController.run(RoBackGroundController.java:151)
29-Apr-2020 10:07:43.862 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [rochade_index_search_update] appears to have started a thread named [Thread_JPI_Background_Care] 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)
de.rochade.util.RoBackGroundController.run(RoBackGroundController.java:151)
29-Apr-2020 10:07:43.862 INFO [localhost-startStop-2] org.camunda.bpm.engine.impl.jobexecutor.JobExecutor.shutdown Shutting down the JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.DefaultJobExecutor].
29-Apr-2020 10:07:43.862 INFO [JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.DefaultJobExecutor]] org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable.run JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.DefaultJobExecutor] stopped job acquisition
29-Apr-2020 10:07:43.893 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [rochade] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7faf5bb4]) and a value of type [org.zkoss.zk.ui.metainfo.PageDefinition] (value [[PageDefinition: DWR View, path=/com.rochade.dwr.objectcontent/DWR_TFMTransformationMapTypeTab.zul]]) 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.
29-Apr-2020 10:07:43.893 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [rochade] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7faf5bb4]) and a value of type [org.zkoss.zk.ui.metainfo.PageDefinition] (value [[PageDefinition: start, path=/index.zul]]) 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.
29-Apr-2020 10:07:43.893 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [rochade] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7faf5bb4]) and a value of type [org.zkoss.zk.ui.metainfo.PageDefinition] (value [[PageDefinition: 1204089362, path=]]) 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.
29-Apr-2020 10:07:43.893 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [rochade] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7faf5bb4]) and a value of type [org.zkoss.zk.ui.metainfo.PageDefinition] (value [[PageDefinition: start, path=/com.rochade.im.ctxmenu/IM_CreateIssuePopup.zul]]) 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.
29-Apr-2020 10:07:43.893 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [rochade] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7faf5bb4]) and a value of type [org.zkoss.zk.ui.metainfo.PageDefinition] (value [[PageDefinition: start, path=/index.zul]]) 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.
29-Apr-2020 10:07:43.893 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [rochade] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7faf5bb4]) and a value of type [org.zkoss.zk.ui.metainfo.PageDefinition] (value [[PageDefinition: DWR View, path=/com.rochade.dwr.objectcontent/DWR_TFMPerformsTabPerformsTransformation.zul]]) 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.
29-Apr-2020 10:07:43.893 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [rochade] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7faf5bb4]) and a value of type [org.zkoss.zk.ui.metainfo.PageDefinition] (value [[PageDefinition: start, path=/com.rochade.wa.ui.queryparam/QueryParam.zul]]) 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.
29-Apr-2020 10:07:43.893 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [rochade] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7faf5bb4]) and a value of type [org.zkoss.zk.ui.metainfo.PageDefinition] (value [[PageDefinition: start, path=/com.rochade.wa.ui.editor.editormenu/SummaryMenu.zul]]) 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.
29-Apr-2020 10:07:43.893 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [rochade] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7faf5bb4]) and a value of type [org.zkoss.zk.ui.metainfo.PageDefinition] (value [[PageDefinition: 1962530872, path=]]) 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.
29-Apr-2020 10:07:43.925 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]
29-Apr-2020 10:07:43.925 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]
原因分析
8080端口被占用,导致tomcat服务意外终止
解决方法
tomcat必须使用8080端口,重启服务即可
-
修改tomcat端口,修改conf的server.xml的shutdown端口就可以了
<Server port="8080" shutdown="SHUTDOWN">