[
https://issues.apache.org/jira/browse/QPID-7906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150538#comment-16150538
]
Alex Rudyy commented on QPID-7906:
----------------------------------
Rob,
You are right, the issue is with the spaces in the value of one of the
arguments, but escaping of the spaces in the value did not work for me. I tried
to escape the path, for example {{
-Djava.iotmp=/home/alex/worksapce/tmp\ \(\ test\ \)}}, but the script was
failing anyway. Also, I tried to use quotes
QPID_OPTS="\"-Djava.iotmp=/home/alex/worksapce/tmp ( test )\"", that did not
work either.
> [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]