Skip to content

Commit

Permalink
ARTEMIS-4303 Fix windows service
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
five-iron authored and clebertsuconic committed Jun 13, 2023
1 parent bd3c057 commit 600799d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<env name="ARTEMIS_INSTANCE" value="@artemis.instance@"/>
<env name="ARTEMIS_INSTANCE_ETC" value="${artemis.instance.etc}"/>
<env name="ARTEMIS_INSTANCE_URI" value="${artemis.instance.uri}"/>
<env name="ARTEMIS_INSTANCE_ETC_URI" value="${artemis.instance.etc.uri.windows}"/>
<env name="ARTEMIS_INSTANCE_ETC_URI" value="${artemis.instance.etc.uri}"/>
<env name="ARTEMIS_DATA_DIR" value="${artemis.instance.data}"/>

<logpath>@artemis.instance@\log</logpath>
Expand Down

0 comments on commit 600799d

Please sign in to comment.