[jboss-jira] [JBoss JIRA] (WFCORE-4521) add-user script fails when there is no domain configuration

Rafael Soares (Jira) issues at jboss.org
Wed Jun 12 12:55:00 EDT 2019


Rafael Soares created WFCORE-4521:
-------------------------------------

             Summary: add-user script fails when there is no domain configuration
                 Key: WFCORE-4521
                 URL: https://issues.jboss.org/browse/WFCORE-4521
             Project: WildFly Core
          Issue Type: Bug
          Components: CLI, Management, Scripts
    Affects Versions: 9.0.1.Final
         Environment: OS Darwin Kernel Version 17.7.0
Java 1.8.0_192-ea
WildFly Full 17.0.0.Final (WildFly Core 9.0.1.Final)
            Reporter: Rafael Soares
            Assignee: Jean Francois Denise


When you have a wildfly installation with no domain configuration directory (WILDFLY_HOME/domain) the {{bin/add-user.sh}} fails because it expects both (standalone and domain) configs to exists in order to update the properties file...

It seems this behavior is fixed in the code implementation at [org.jboss.as.domain.management.security.adduser.AddUser.java|https://github.com/wildfly/wildfly-core/blob/master/domain-management/src/main/java/org/jboss/as/domain/management/security/adduser/AddUser.java#L160]



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list