-
1. Re: JBOSS PROBLEM...!
adrian.brock Aug 22, 2002 11:26 AM (in response to dix18)Can you post the full output?
In particular the classpath.
Regards,
Adrian -
2. Re: JBOSS PROBLEM...!
dix18 Aug 22, 2002 11:55 AM (in response to dix18)run.sh: Missing file: /lib/tools.jar
run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
================================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/home/defcom96/usr/local/JBOSS_DIST
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh
CLASSPATH: /usr/home/defcom96/usr/local/JBOSS_DIST/bin/run.jar:/lib/tools.jar
comando:
java -Dprogram.name=run.sh -classpath /usr/home/defcom96/usr/local/JBOSS_DIST/bin/run.jar:/lib/tools.jar org.jboss.Main
================================================================================
Can't find class org.jboss.Main -
3. Re: JBOSS PROBLEM...!
adrian.brock Aug 22, 2002 1:21 PM (in response to dix18)Looks like your environment variable JAVA_HOME
isn't set correctly.
Does
jar -tf /usr/home/defcom96/usr/local/JBOSS_DIST/bin/run.jar
| grep Main
show the missing class?
Regards,
Adrian -
4. Re: JBOSS PROBLEM...!
dix18 Aug 23, 2002 4:53 AM (in response to dix18)I've checked JAVA_HOME path... it's right!
How can i do?!? -
5. Re: JBOSS PROBLEM...!
dix18 Aug 23, 2002 5:26 AM (in response to dix18)YESSSS!!!
done.
work correctly!
a last question: i lost my environment variables when i disconnect the telnet session on my server.... how can i make this variables permanently?
thanks for all.
DIX. -
6. Re: JBOSS PROBLEM...!
juha Aug 24, 2002 6:21 AM (in response to dix18)depends on the shell you're using, there should be a file that is executed when you login, such as .login or .cshrc etc where you can export system variables, append PATH etc.