[ https://issues.apache.org/jira/browse/QPID-7132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Wall updated QPID-7132: ----------------------------- Assignee: Alex Rudyy (was: Keith Wall) > qpid-server does not properly quote dirname $0 argument > ------------------------------------------------------- > > Key: QPID-7132 > URL: https://issues.apache.org/jira/browse/QPID-7132 > Project: Qpid > Issue Type: Bug > Components: Java Broker > Reporter: Keith Wall > Assignee: Alex Rudyy > Priority: Minor > Fix For: qpid-java-6.1 > > > The qpid-server script uses {{dirname}} to determine the default value of > QPID_HOME. If the qpid-server script is invoked with a path, and that path > includes a space a warning is seen and dirname will fail. If the user has > not set QPID_HOME externally, Qpid will fail to start. > {noformat} > 2016-03-08 15:12:44,008 DEBUG [UNKNOWN node2(-1)] > o.a.q.t.u.SpawnedBrokerHolder Spawning broker with options: > BrokerOptions{_configurationStoreLocation='/tmp/qpid-work-org.apache.qpid.server.store.berkeleydb.replication.MultiNodeTest.testClusterCannotStartWithIntruder-45-6310786915919813620/config.json', > _configurationStoreType='JSON', _initialConfigurationLocation='null', > _managementMode=false, _managementModeQuiesceVhosts=false, > _managementModeHttpPortOverride=0, _overwriteConfigurationStore=false, > _configProperties={qpid.work_dir=/tmp/qpid-work-org.apache.qpid.server.store.berkeleydb.replication.MultiNodeTest.testClusterCannotStartWithIntruder-45-6310786915919813620, > test.port=10000, test.hport=0}, _startupLoggedToSystemOut=false, > _initialSystemProperties='null'} jvmOptions: {test.port=0, > qpid.globalAddressDomains=[], > test.amqp_port_protocols=["AMQP_0_8","AMQP_0_9","AMQP_0_9_1","AMQP_0_10"], > test.port.ssl=0, virtualhostnode.type=BDB, > virtualhostnode.context.blueprint={"type":"ProvidedStore","globalAddressDomains":"${qpid.globalAddressDomains}"}, > test.hport=0, test.port.alt.ssl=0, test.port.alt=0} environmentSettings: {} > 2016-03-08 15:12:44,687 INFO [UNKNOWN node2(-1)] > o.a.q.t.u.SpawnedBrokerHolder PID 26958 > 2016-03-08 15:12:44,687 INFO [BROKER-45] > o.a.q.t.u.SpawnedBrokerHolder dirname: extra operand `1.7' > 2016-03-08 15:12:44,688 INFO [BROKER-45] > o.a.q.t.u.SpawnedBrokerHolder Try `dirname --help' for more information. > 2016-03-08 15:12:44,688 INFO [BROKER-45] > o.a.q.t.u.SpawnedBrokerHolder Setting QPID_WORK to /home/jenkins as default > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org