[
https://issues.apache.org/jira/browse/ARTEMIS-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17618999#comment-17618999
]
Justin Bertram commented on ARTEMIS-4049:
-----------------------------------------
Thanks for following up. I've been able to reproduce what you're seeing.
The first thing to note is that these messages are coming from the
{{artemis.cmd}} script itself and are not directly related the the broker's
inability to find {{artemis-users.properties}}:
{noformat}
The system cannot find the path specified.
The syntax of the command is incorrect.{noformat}
These messages are the result of changes from ARTEMIS-2558.
At this point I still can't determine why the broker can't find
{{artemis-users.properties}}. I suspect it has something to do with the space
in the directory name {{Program Files}}. I'm continuing to investigate.
> Creating user fails on Windows
> ------------------------------
>
> Key: ARTEMIS-4049
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4049
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.26.0
> Environment: Windows 10
> Reporter: Marko Mikkonen
> Priority: Major
>
> Creating a user on Windows with command:
> {noformat}
> artemis user add --user admin --password admin --user-command-user cn_admin
> --user-command-password cn_admin --role admin --url
> tcp://localhost:61616{noformat}
> fails with an error message:
> {noformat}
> The system cannot find the path specified.
> The syntax of the command is incorrect.
> Connection brokerURL = tcp://localhost:61616
> Failed to add user cn_admin. Reason: AMQ229220: Failed to load user file:
> /C:/Program%20Files/apache-artemis-2.26.0-instance1/etc/artemis-users.properties{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)