[ 
https://issues.apache.org/jira/browse/ARTEMIS-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17618137#comment-17618137
 ] 

Justin Bertram commented on ARTEMIS-4049:
-----------------------------------------

I just set up a Windows VM, installed JDK 17, downloaded & unzipped ActiveMQ 
Artemis 2.26.0, created a broker instance, and ran the {{artemis.cmd user add}} 
command and added a user without any problems. Please provide steps to 
reproduce the error you're seeing. It looks like it may be environmental.

> Creating user fails on Windows
> ------------------------------
>
>                 Key: ARTEMIS-4049
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4049
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: JAAS
>    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)

Reply via email to