You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2013/05/23 23:37:21 UTC

[jira] [Assigned] (QPID-4881) New --config-property argument cannot be used with qpid-server.bat (windows)

     [ https://issues.apache.org/jira/browse/QPID-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy reassigned QPID-4881:
--------------------------------

    Assignee: Alex Rudyy
    
> New --config-property argument cannot be used with qpid-server.bat (windows)
> ----------------------------------------------------------------------------
>
>                 Key: QPID-4881
>                 URL: https://issues.apache.org/jira/browse/QPID-4881
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.22, 0.23
>            Reporter: Keith Wall
>            Assignee: Alex Rudyy
>            Priority: Minor
>         Attachments: broket-batch-script-fixes.diff
>
>
> Trying to use a command such using the new argument fails in the following manner.
> Y:\src\qpid\qpid\java\build>.\bin\qpid-server.bat --initial-config-path Y:\ha_test\config.json --config-property nodenum=5
> Warning: Qpid classpath not set. CLASSPATH set to Y:\src\qpid\qpid\java\build\li
> b\qpid-all.jar;Y:\src\qpid\qpid\java\build\lib\plugins\*;Y:\src\qpid\qpid\java\build\lib\opt\*
> Info: QPID_JAVA_GC not set. Defaulting to JAVA_GC -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError
> Info: QPID_JAVA_MEM not set. Defaulting to JAVA_MEM -Xmx1024m
> Exception during startup: java.lang.IllegalArgumentException: Configuration property argument is not of the format name=value: nodenum
> java.lang.IllegalArgumentException: Configuration property argument is not of the format name=value: nodenum
>         at org.apache.qpid.server.Main.execute(Main.java:226)
>         at org.apache.qpid.server.Main.<init>(Main.java:134)
>         at org.apache.qpid.server.Main.main(Main.java:125)
> Y:\src\qpid\qpid\java\build>
> It appears to be related to the processing of the argument list by the qpid-server.bat file.  It is choking on arguments containing =.
> User can workaround by providing the property values as system properties (e.g via QPID_OPTS: set QPID_OPTS="-Dname=value"), or by invoking the Main class directly without the qpid-server.bat script.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org