Sometime, when I failed to restart my tomcat7 server, and in the log, it returns error:
**address already in use!**
In this case, you can do some check as below:
Check whether the port for
tomcat7is used by other applications, such as
apache2, nginx… The port number may be
8080, which depends on your configuration, but default is
In some rare cases, I am sure the ports above is not occupied by other application. So, what is happening???
Please check whether the
shut down port 8005 is occupied or not, and this may happen if tomcat7 crashes!
# find the pid of 8005