Tomcat down after reboot


Help! My Tomcat isn't running anymore after reboot!


Eh.. first thing's first. Verify if Tomcat is running or not. Login to your server through SSH and issue the following command:

-bash-3.2# telnet localhost 8080
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

 -bash-3.2# /etc/init.d/tomcat5 status
tomcat6 is stopped.

If you see those results, that means Tomcat isn't running in the first place.
Make sure that it's enabled for start-up. The next time your server will be rebooted, Tomcat should start.

To enable Tomcat for start-up, do:

-bash-3.2# chkconfig tomcat5 on

No comments:

Post a Comment