Tomcat stopped without any log or any stack

后端 未结 4 616
青春惊慌失措
青春惊慌失措 2021-02-07 07:23

We have trouble with Tomcat 5.5 which stops at night on our production servers (Linux CentOS 4.8) and we have no idea why it stops... There is no Tomcat\'s log in catalina.out o

4条回答
  •  迷失自我
    2021-02-07 07:46

    Tomcat 7 has an option inside catalina to prevent the System.exit class call or something similar: http://ci.apache.org/projects/tomcat/tomcat7/docs/security-manager-howto.html .

    Maybe there's a similar option for the 5.5 version. Try the documentation.

    There are options to redirect the output to the same console that you use to start Tomcat. This information is redirected to logs when you execute on Unix based systems, on Windows, it remains with the console if not redirected.

提交回复
热议问题