This content has been marked as final.
Show 1 reply
-
1. Re: JBoss 4.2.2.GA shutdown script -su: java command not fou
peterj May 7, 2008 3:24 AM (in response to ndhenry)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"}