Description of problem: Canot run jboss-cli.bat on Windows when EAP unziped into directory with spaces Version-Release number of selected component (if applicable): Tested with jboss-as-dist-7.3.0.Final-redhat-10.zip and then check with jboss-as-dist-7.3.0.Final-redhat-12.zip Zips can be downloaded from http://download.eng.bos.redhat.com/brewroot/repos/jb-eap-6-rhel-6-build/latest/maven/org/jboss/as/jboss-as-dist/ Steps to Reproduce: 1.On Windows 7 unzip EAP into directory with spaces. Ex. C:\Users\John\Bug Example 2.Run C:\Users\John\Bug Example\jboss-eap-6.2\bin\jboss-cli.bat Actual results: Error: Could not find or load main class Example\jboss-eap-6.2\bin\jboss-cli-log ging.properties Press any key to continue . . . Expected results: You are disconnected at the moment. Type 'connect' to connect to the server or ' help' for the list of supported commands. [disconnected /] Additional info: In jboss-cli.bat set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=com.sun.java.swing" Changed to set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=com.sun.java.swing -Dlogging.configuration=file:%JBOSS_HOME%\bin\jboss-cli-logging.properties"
*** Bug 1033200 has been marked as a duplicate of this bug. ***
Please include there is a simple workaround for the issue, see https://github.com/jbossas/jboss-eap/pull/712/files
Also special characters like parentheses are problem here, we should add this to RN as well.
Verified on EAP 6.3.0.DR0