The batch file is probably being killed when the parent ( tomcat ) process is killed in the shutdown.
Ideally you would write a little server daemon to do the shutdown/startup call, this would run independant of tomcat.
The batch file is probably being killed when the parent ( tomcat ) process is killed in the shutdown.
Ideally you would write a little server daemon to do the shutdown/startup call, this would run independant of tomcat.