I have several Tomcat 7.0.12 installations on remote servers for different projects. I need to start and stop them from a centralized server. Once I start the server remotely using ssh commands, server starts successfully but prompt does not exit. It keeps on holding.
I have password-less sudo connectivity established from central server to all remote hosts.
Command used is :
ssh -l user remote-address 'cd TOMCAT_HOME/bin; ./startup.sh'
I suppose that in the first case the startup.sh is not properly detaching from the controlling terminal.
When closing all three standard I/O channels (standard input, output and error output) it seems to do it.