我们正在 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 重启后工作正常。但我想知道实际原因?