-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 4.8.2, 4.8.3, 4.8.4, 4.8.5, 4.8.6, 4.8.8, 4.8.9
-
Component/s: Server administration
-
Severity 3 - Minor
-
17
Issue Summary
When starting the Fisheye/Crucible using the $FISHEYE_HOME/bin/run.bat or $FISHEYE_HOME/bin/start.bat the FISHEYE_INST set on the Windows Environment variable is not picked up instead the FISHEYE_HOME is always taken as the FISHEYE_INST path.
Steps to Reproduce
- Set FISHEYE_INST as an Environment variable
- From the FISHEYE_HOME try to start the Fisheye/Crucible using the $FISHEYE_HOME/bin/run.bat or $FISHEYE_HOME/bin/start.bat the FISHEYE_INST set on the Env variable is not picked up
- Instead, the FISHEYE_HOME is always picked up as the FISHEYE_INST path
Expected Results
The $FISHEYE_HOME/bin/run.bat or $FISHEYE_HOME/bin/start.bat should pick up the correct FISHEYE_INST value set on the Windows Environment variable
Actual Results
The $FISHEYE_HOME/bin/run.bat or $FISHEYE_HOME/bin/start.bat file always picks up the FISHEYE_HOME as FISHEYE_INST path
Workaround
This is caused because the JVM parameters are not included without double quotes("") in the $FISHEYE_HOME/bin/fisheyectl.bat file.
Find and modify the Line set FISHEYE_JVM_FLAGS
From
set FISHEYE_JVM_FLAGS="-Dfisheye.library.path=%FISHEYE_LIBRARY_PATH% -Dfisheye.inst=%FISHEYE_INST% -Djava.awt.headless=true -Djava.endorsed.dirs=%FISHEYE_HOME%\lib\endorsed"
To
set FISHEYE_JVM_FLAGS="-Dfisheye.library.path=%FISHEYE_LIBRARY_PATH%" "-Dfisheye.inst=%FISHEYE_INST%" "-Djava.awt.headless=true" "-Djava.endorsed.dirs=%FISHEYE_HOME%\lib\endorsed"
- mentioned in
-
Page Loading...