[
https://issues.apache.org/jira/browse/ARTEMIS-4303?focusedWorklogId=863795&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-863795
]
ASF GitHub Bot logged work on ARTEMIS-4303:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 05/Jun/23 20:41
Start Date: 05/Jun/23 20:41
Worklog Time Spent: 10m
Work Description: five-iron opened a new pull request, #4500:
URL: https://github.com/apache/activemq-artemis/pull/4500
When installing artemis on windows as a service, if your chosen installation
path contained a space, then an extra escape character (%) was being inserted
in the generated
artemis-service.xml, causing the service to fail to start. This fix changes
the value of ARTEMIS_INSTANCE_ETC_URI in that file from
"artemis.instance.etc.uri.windows" to "artemis.instance.etc.uri" to get rid of
that unnecessary escape character.
Issue Time Tracking
-------------------
Worklog Id: (was: 863795)
Remaining Estimate: 0h
Time Spent: 10m
> Artemis Windows Service fails to start correctly when filepath has a space
> --------------------------------------------------------------------------
>
> Key: ARTEMIS-4303
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4303
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.28.0
> Environment: Windows 10
> Reporter: Jake Sperlazza
> Priority: Minor
> Attachments: artemis-service.out.log, artemis-service.xml
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Steps to reproduce:
> # Download / extract zip:
> [https://activemq.apache.org/components/artemis/download/]
> # run "bin/artemis create" giving it a target path which has a space e.g.:
> ## ./bin/artemis create --user default --password default --require-login
> /c/Program\ Files/artemis
> # Install and try and start the service
> ## "C:\Program Files\artemis\bin\artemis-service.exe"install
> ## "C:\Program Files\artemis\bin\artemis-service.exe" start
> # Notice the web console does not come up and there are errors in the logs
> (as shown in attachment artemis-service.out.log)
>
> I believe the problem lies in line 29 of the generated artemis-service.xml
> (attached), which has a unnecessarily double-escaped space character (%%20)
> for the value of ARTEMIS_INSTANCE_ETC_URI.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)