Depending on the installation of tomcat, I saw cases where the catalina.pid parameter is not defined. In this case, turn off tomcat and define it yourself:
In tomcat / bin / setenv.sh add this line:
CATALINA_PID="$CATALINA_BASE/bin/catalina.pid"
or for windows (in setenv.bat): set CATALINA_PID=%CATALINA_HOME%/bin/catalina.pid
This will detect and create the pid file in the tomcat / bin folder if your CATALINA_HOME is defined as your tomcat folder. However, you can also change the location of the pid file by simply changing the path above.
Mike Feb 25 '14 at 17:05 2014-02-25 17:05
source share