You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christoph Panwinkler (Jira)" <ji...@apache.org> on 2020/01/14 13:20:00 UTC
[jira] [Updated] (ARTEMIS-2595) Unable to bootstrap broker when
installed as a windows service with blanks in instance directory
[ https://issues.apache.org/jira/browse/ARTEMIS-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Panwinkler updated ARTEMIS-2595:
------------------------------------------
Description:
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>
was:
If you install artemis as a windows service into an installation directory containing 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>
Summary: Unable to bootstrap broker when installed as a windows service with blanks in instance directory (was: Unable to bootstrap broker when installed as a windows service with blanks in installation path)
> 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
> Components: ActiveMQ-Artemis-Native
> Affects Versions: 2.10.1
> Environment: Windows 10
> Reporter: Christoph Panwinkler
> Assignee: Clebert Suconic
> 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)