Bug 1033200
| Summary: | jboss-cli.bat fails to start due to malformed JAVA_OPTS env prop | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Michal Karm Babacek <mbabacek> |
| Component: | CLI | Assignee: | Alexey Loubyansky <olubyans> |
| Status: | CLOSED DUPLICATE | QA Contact: | Petr Kremensky <pkremens> |
| Severity: | high | Docs Contact: | Russell Dickenson <rdickens> |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | brian.stansberry |
| Target Milestone: | --- | ||
| Target Release: | EAP 6.3.0 | ||
| Hardware: | All | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-21 21:33:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This pull request fixes the issue: https://github.com/jbossas/jboss-eap/pull/712 *** This bug has been marked as a duplicate of bug 1031173 *** |
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.