-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: EAP_EWP 5.1.0
-
Fix Version/s: EAP_EWP 5.2.0
-
Component/s: Scripts and Commands
-
Labels:
-
Environment:
JBoss EAP 5.1.0
-
Steps to Reproduce:
-
Affects:Release Notes
-
Workaround:Workaround Exists
-
Workaround Description:
-
Estimated Difficulty:Low
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
-
Docs QE Status:NEW
If the JBOSS_HOME path contains "( )" in the path then the run.bat fails to execute. For example if the JBOSS_HOME is set to "c:\Program Files (test)\JBoss" then the run.bat fails to execute with the following error message:-
\Jboss-5.1.0\bin\run.conf.bat was unexpected at this time.
This error is due to not having the double quotes in the echo statements below:-
if exist "%RUN_CONF%" (
echo Calling %RUN_CONF%
call "%RUN_CONF%" %*
) else (
echo Config file not found %RUN_CONF%
)