Jake Sperlazza created ARTEMIS-4303:
---------------------------------------

             Summary: 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
         Attachments: artemis-service.out.log, artemis-service.xml

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)

Reply via email to