如何找出tomcat意外關閉的原因

如何找出tomcat意外關閉的原因

我們正在 Apache tomcat 7 上運行一個 java 應用程式。我在catalina.out日誌中搜尋。通常我們的伺服器會按照腳本在凌晨 2 點自動重新啟動。但當我簽入時,apport.log它說:

ERROR: apport (pid 18768) Wed Nov 13 09:18:54 2019: called for pid 17915, signal 6
ERROR: apport (pid 18768) Wed Nov 13 09:18:54 2019: executable: executable: /opt/biller-java/java-7-openjdk-amd64/bin/java (command line "/opt/myapplication-java/java-7-openjdk-amd64/bin/java -Djava.util.logging.config.file=/tomcats/apache-tomcat-7.0.64-myapplication/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Dfile.encoding=UTF-8 -Xms512m -Xmx4000m -XX:PermSize=128m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Djava.endorsed.dirs=/tomcats/apache-tomcat-7.0.64-myapplication/endorsed -classpath /tomcats/apache-tomcat-7.0.64-myapplication/bin/bootstrap.jar:/tomcats/apache-tomcat-7.0.64-biller/bin/tomcat-juli.jar -Dcatalina.base=/tomcats/apache-tomcat-7.0.64-biller -Dcatalina.home=/tomcats/apache-tomcat-7.0.64-myapplication -Djava.io.tmpdir=/tomcats/apache-tomcat-7.0.64-myapplication/temp org.apache.catalina.startup.Bootstrap start")
ERROR: apport (pid 18768) Wed Nov 13 09:18:54 2019: executable does not belong to a package, ignoring

目前我們的伺服器大約在這個時候關閉。我怎麼能找到這個問題的真正原因,儘管它在tomcat重啟後有效。但我想知道真正的原因是什麼?

相關內容