[
https://issues.apache.org/jira/browse/ARTEMIS-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell reopened ARTEMIS-4303:
-------------------------------------
> 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: 0.5h
> 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)