Details
-
Bug
-
Resolution: Done
-
Major
-
JBossAS-3.2.6 Final
-
None
-
None
Description
SourceForge Submitter: keenanross .
On MS Windows, if you have NOT set the JBOSS_CLASSPATH
environment variable, and then execute the JBoss 3.2.2
run.bat from a DOS box, the server will echo:
========================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\jboss\jboss-3.2.2_jetty-4.2.11\bin
..
.
JAVA: c:\j2sdk1.4.2_02\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat
.
CLASSPATH:
;c:\j2sdk1.4.2_02\lib\tools.jar;C:\jboss\jboss-3.2.2_jetty-4.2.11\bin
run.jar
.
========================================================================
NOTE the leading semicolon in the value of the
claspath, which the Java VM interprets as the current
directory. If that directory contains extraneous .class
or .property files, hard to track down problems can be
introduced.
The UNIX version of the start script, run.sh, does not
suffer from this problem. Its logic, an explicit check
for a non-existant JBOSS_CLASSPATH, could be used in
run.bat to fix this bug.