]
Darran Lofthouse updated WFLY-3781:
-----------------------------------
Assignee: (was: Darran Lofthouse)
Better warning message in add-user.sh
-------------------------------------
Key: WFLY-3781
URL:
https://issues.jboss.org/browse/WFLY-3781
Project: WildFly
Issue Type: Feature Request
Components: Scripts
Affects Versions: 8.1.0.Final
Environment: Linux
Reporter: David Tonhofer
Priority: Minor
Fix For: Awaiting Volunteers
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."