JBoss Bootstrap Environment
JAVA_OPTS: -server -Dprogram.name=run.sh
./run.sh: line 182: /usr/local/j2sdk: is a directory
./run.sh: line 182: exec: /usr/local/j2sdk: cannot execute: Success
Your JAVA variable is not being correctly set up. You should have:
JAVA = /usr/local/j2sdk/bin/java
See the run.sh section on setting up the JVM. It only sets up the JVM correctly if JAVA is not already initialised.
You have initialised it before calling the script with the:
So it stays that way. Try clearing the JAVA environment variable first or set the way that JBoss's run.sh expects it to be set.
It is solution.
Have you checked your log file?
Did log4j generate an error?
Are there large number of warnings regarding missing
Have you tried to shut it down using shutdown.sh? You'll
need to call shutdown.sh as
or hack the script and add it.