Hi, > > Our question is: > 1. It is possible to stop tomcat during initialization phase? > 2. If yes how and if not are any plans to implement it in future versions? > > It seems to me that my solutions for now are: > 1. sending SIGKILL signal to tomcat (this is very risky to me because > stopping like this in the middle of something may corrupt data - but this > situation is any way possible so I have to handle it) > 2. wait for tomcat initilization procedure to finish and then trigger the > shutdown since we can do something in our wrapper scripts > Do you see any other possible solutions? >
Did you try to terminate the process with SIGUSR1 instead of SIGKILL? I usually terminate Java processes with SIGUSR1 if SIGTERM is not handled in time and it still seems to do some cleanup while shutting down. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
