Ok, well I have solved this issue, and just in case you are as unfortunate as I to waste two days of your life on this, here's the problem.
executing a remote command with ssh requires that any child processes have returned a result to the calling process. The tomcat 5.5 script appears not to...
The following command hangs for me when run from one server:
ssh remoteserver /etc/init.d/tomcat55 restart
(running as root on one server, attempting to restart tomcat on another using the tomcat init script)
The command on the local server executes, but never returns to the command prompt...
I went down that path but instead use mod_proxy and mod_proxy_ajp -- it accomplishes the same goal and is much simpler.
Let me know if you need further info.
Tom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.