-
1. Re: [JBOSS-3.2.0_tomcat-4.1.24] run.sh start error for gento
oldman78 Apr 25, 2003 10:13 PM (in response to oldman78)[/usr/jboss/bin]# ./run.sh
================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/jboss
JAVA: /usr/local/j2sdk
JAVA_OPTS: -server -Dprogram.name=run.sh
CLASSPATH: /usr/local/jboss/bin/run.jar:/usr/local/j2sdk/lib/tools.jar
================================================
./run.sh: line 182: /usr/local/j2sdk: is a directory
./run.sh: line 182: exec: /usr/local/j2sdk: cannot execute: Success
(-_-)' HELP -
2. Re: [JBOSS-3.2.0_tomcat-4.1.24] run.sh start error for gento
jonlee Apr 25, 2003 11:31 PM (in response to oldman78)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:
export JAVA=/usr/local/j2sdk
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. -
3. Re: nice! thanks ~! (^^*)....
oldman78 Apr 26, 2003 9:37 AM (in response to oldman78)It is solution.
^^ thanks -
4. Re: [JBOSS-3.2.0_tomcat-4.1.24] run.sh start error for gento
dharmafog Apr 26, 2003 12:55 PM (in response to oldman78)Have you checked your log file?
Did log4j generate an error?
Are there large number of warnings regarding missing
jar files?
Have you tried to shut it down using shutdown.sh? You'll
need to call shutdown.sh as
shutdown.sh --shutdown
or hack the script and add it.