[jboss-jira] [JBoss JIRA] (WFCORE-578) Better warning message in add-user.sh

Brian Stansberry (JIRA) issues at jboss.org
Wed Mar 4 14:33:51 EST 2015


     [ https://issues.jboss.org/browse/WFCORE-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry moved WFLY-3781 to WFCORE-578:
-----------------------------------------------

              Project: WildFly Core  (was: WildFly)
                  Key: WFCORE-578  (was: WFLY-3781)
    Affects Version/s:     (was: 8.1.0.Final)
          Component/s: Scripts
                           (was: Scripts)
        Fix Version/s: 1.0.0.Alpha11
                           (was: Awaiting Volunteers)


> Better warning message in add-user.sh
> -------------------------------------
>
>                 Key: WFCORE-578
>                 URL: https://issues.jboss.org/browse/WFCORE-578
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Scripts
>         Environment: Linux
>            Reporter: David Tonhofer
>            Assignee: David Salter
>            Priority: Minor
>             Fix For: 1.0.0.Alpha11
>
>
> If (shell or environment) variable JBOSS_HOME is set to something unexpected, then add-user.sh complains:
> "WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur."
> This can be made clearer, e.g.:
> "WARNING: The JBOSS_HOME (/usr/java/jboss7) that this script will use may indicate a different installation than the one this script resides in (/usr/local/java/wildfly) - unpredictable results may occur."
> Change of line 35 in "bin/add-user.sh":
>    echo "WARNING: The JBOSS_HOME ($SANITIZED_JBOSS_HOME) that this script will use may indicate a different installation than the one this script resides in ($RESOLVED_JBOSS_HOME) - unpredictable results may occur."



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list