tomcat下bin/catalina.sh的PRGDIR下行增加:
if [ -z "$CATALINA_PID" ]; then
CATALINA_PID=$PRGDIR/CATALINA_PID
fi
shutdown.sh最后一行中增加-force
exec "$PRGDIR"/"$EXECUTABLE" stop -force "$@"
参考:https://blog.csdn.net/yucdsn/article/details/78193384
tomcat下bin/catalina.sh的PRGDIR下行增加:
if [ -z "$CATALINA_PID" ]; then
CATALINA_PID=$PRGDIR/CATALINA_PID
fi
shutdown.sh最后一行中增加-force
exec "$PRGDIR"/"$EXECUTABLE" stop -force "$@"
参考:https://blog.csdn.net/yucdsn/article/details/78193384