Start and shutdown tomcat via ssh
- by bxshi
Updated
I find out that the path of jdk it using is wrong. eval: 1: /opt/Java/jdk1.6.0_25/jre/bin/java: not found the Java should be lower case java, how is that happen? When I run this script directly on server, it is just okay.
I'm trying to start or shutdown tomcat via a remote client.
On my server, I've got 3 different tomcat: tomcat1,…