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

Darran Lofthouse (JIRA) issues at jboss.org
Wed Aug 27 11:18:00 EDT 2014


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

Darran Lofthouse reassigned WFLY-3781:
--------------------------------------

    Assignee: Darran Lofthouse  (was: Tomaz Cerar)


> Better warning message in add-user.sh
> -------------------------------------
>
>                 Key: WFLY-3781
>                 URL: https://issues.jboss.org/browse/WFLY-3781
>             Project: WildFly
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Scripts
>    Affects Versions: 8.1.0.Final
>         Environment: Linux
>            Reporter: David Tonhofer
>            Assignee: Darran Lofthouse
>            Priority: Minor
>
> 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.1#6329)


More information about the jboss-jira mailing list