[jboss-user] [Beginners Corner] - Re: JBoss 4.2.2.GA shutdown script -su: java command not fou

PeterJ do-not-reply at jboss.com
Wed May 7 03:24:04 EDT 2008


Looks like the start command uses java_home/bin/java. but the shutdown command uses only java. Change the the line of the script that declares the shutdown command to ADD $java_home/bin, as follows:

JBOSS_CMD_STOP=${JBOSS_CMD_STOP:-"$JAVA_HOME/BIN/java -classpath $JBOSSCP org.jboss.Shutdown --shutdown"}



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149007#4149007

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149007



More information about the jboss-user mailing list