Paulo Gaspar typed the following on 13:04 07/12/2000 +0100
>Isn't it possible to make mod_jk recover gracefully from the loss of
>Tomcat and try to reconnect with a new instance of Tomcat afterwards?
Sounds reasonable to me, but then I haven't looked inside ajp13 at all either.
>Tomcat already froze on us on a test and JServ sometimes does it too
>(but it is restarted by mod_jserv). I would like to move to Tomcat but
>I need to have this extra safety layer.
>
>Again, I am willing to contribute a Java made portable watchdog but I
>know nothing about sockets programming in C.
How do you see this working? It seems to me that this couldn't be done
entirely in Java, it would at least have to run the appropriate start script
to make sure classpaths are set, etc. So ajp13 or the watchdog would have
to run the start script if it found it couldn't talk to Tomcat. It would
also have
to worry about restarting it unecessarily - suppose you restart Tomcat
manually, how will the watchdog be prevented from thinking it was down
and starting a second process?
Kief
---
bitBull makes the Internet bite: http://www.bitBull.com/demos/