Bug 1033200 - jboss-cli.bat fails to start due to malformed JAVA_OPTS env prop
Summary: jboss-cli.bat fails to start due to malformed JAVA_OPTS env prop
Keywords:
Status: CLOSED DUPLICATE of bug 1031173
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.2.0
Hardware: All
OS: Windows
unspecified
high
Target Milestone: ---
: EAP 6.3.0
Assignee: Alexey Loubyansky
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-21 17:09 UTC by Michal Karm Babacek
Modified: 2014-06-29 22:52 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-11-21 21:33:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Karm Babacek 2013-11-21 17:09:32 UTC
If you install EAP in such a directory so as to have a white space in your JBOSS_HOME path, e.g. C:\Program Files, jboss-cli.bat won't start and one can see error like this:

{noformat}
Error: Could not find or load main class Files\jboss-eap-6.2-3\bin\jboss-cli-logging.properties
Press any key to continue . . .
{noformat}

The error is caused by this line in jboss-cli.bat:

{code}
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=com.sun.java.swing -Dlogging.configuration=file:%JBOSS_HOME%\bin\jboss-cli-logging.properties"
{code}

Nobody who normally runs test jobs in hudson workspace could have seen it, because as soon as there are no spaces in JBOSS_HOME path, the error does not occur.

Comment 1 Michal Karm Babacek 2013-11-21 17:12:47 UTC
This pull request fixes the issue:

https://github.com/jbossas/jboss-eap/pull/712

Comment 3 Brian Stansberry 2013-11-21 21:33:05 UTC

*** This bug has been marked as a duplicate of bug 1031173 ***


Note You need to log in before you can comment on or make changes to this bug.