[
https://issues.apache.org/jira/browse/ARTEMIS-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram reassigned ARTEMIS-2595:
---------------------------------------
Assignee: (was: Clebert Suconic)
> Unable to bootstrap broker when installed as a windows service with blanks in
> instance directory
> ------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-2595
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2595
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.10.1
> Environment: Windows 10
> Reporter: Christoph Panwinkler
> Priority: Minor
>
> If you install artemis as a windows service and the instance directory
> contains blanks, starting the service won´t bootstrap the broker although the
> java process is running. Additionally stopping the service won´t stop the
> java process.
>
> The reason for this behavior are the following elements in the service
> descriptor *artemis-service.xml* in the instances bin-directory
> # value for environment variable *ARTEMIS_INSTANCE_ETC_URI* is not correct.
> Blank of the URI is encoded with %%20 instead of %20
> e.g. <env name="ARTEMIS_INSTANCE_ETC_URI"
> value="file:/C:/Temp/Test{color:#ff0000}%{color}%20Install{color:#ff0000}%{color}%20ActiveMQ/apache-active-mq/instance/etc/"/>
> needs to be replaced by <env name="ARTEMIS_INSTANCE_ETC_URI"
> value="file:/C:/Temp/Test%20Install%20ActiveMQ/apache-active-mq/instance/etc/"/>
> # value of stopargument *artemis.instance.etc* must not be enclosed with
> quotes
>
> <stopargument>-Dartemis.instance.etc={color:#ff0000}"{color}%ARTEMIS_INSTANCE_ETC%{color:#ff0000}"{color}</stopargument>
> needs to be replaced by
> <stopargument>-Dartemis.instance.etc=%ARTEMIS_INSTANCE_ETC%</stopargument>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)