[
https://issues.apache.org/jira/browse/ARTEMIS-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619077#comment-17619077
]
Justin Bertram commented on ARTEMIS-4049:
-----------------------------------------
I've discovered the root cause of the problem and sent a PR. Thanks for the bug
report!
> 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
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)