[
https://issues.apache.org/jira/browse/QPID-7906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150404#comment-16150404
]
Rob Godfrey commented on QPID-7906:
-----------------------------------
I don't really think this is a problem with the startup script. If QPID_OPTS
was set to "-Dfoo=1 -Dbar=2" then those would need to be treated as two
separate arguments.
I think the issue is the if you want to use spaces in the value of one of the
arguments themselves they need to be escaped
> [Java Broker] Broker startup script choke when environment variable QPID_OPTS
> contains spaces
> ---------------------------------------------------------------------------------------------
>
> Key: QPID-7906
> URL: https://issues.apache.org/jira/browse/QPID-7906
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.32, qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.2,
> qpid-java-6.0.3, qpid-java-6.0.4, qpid-java-6.0.5, qpid-java-6.0.6,
> qpid-java-6.0.7, qpid-java-6.1, qpid-java-6.1.1, qpid-java-6.1.2,
> qpid-java-6.1.3, qpid-java-6.1.4, qpid-java-6.0.8
> Environment: Unix/Linux
> Reporter: Alex Rudyy
>
> When environment variable QPID_OPTS contains spaces (for example,
> QPID_OPTS="-Djava.iotmp=/home/alex/worksapce/tmp ( test )"), the broker
> startup script (qpid-server) fails to start the broker with:
> {noformat}
> Error: Could not find or load main class \(\
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]