You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2022/10/15 17:15:00 UTC

[jira] [Updated] (ARTEMIS-4049) Creating user fails on Windows

     [ https://issues.apache.org/jira/browse/ARTEMIS-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram updated ARTEMIS-4049:
------------------------------------
    Description: 
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}

  was:
Creating a user on Windows with command:

_artemis user add --user admin --password admin --user-command-user cn_admin --user-command-password cn_admin  --role admin --url tcp://localhost:61616_

fails with an error message:

_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_


> 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)