]
Darran Lofthouse commented on WFLY-2456:
----------------------------------------
I have set this Jira to 'Awaiting Volunteers', should be quite a nice issue for
someone who wants to contribute to WildFly to look into.
This Jira issue is open for one reason: -
For an engineer to investigate if there is anything that can be done in Java 7 to detect
permissions problems on these files and if so report a more meaningful error message if
this is possible.
This may not actually be possible is file system permissions may hide the presence of the
files making them appear missing.
For any other cases where this error is experienced causes are most likely to be one of
the following: -
- Some kind of PATH issue in relation to the location of the application server and the
working dir.
- The files really don't exist.
- A permissions issue where the user running the script can not access the files due to
permissions problems.
For diagnostics of why you experience the error please take the discussion to the forums.
Using add-user.bat for initial admin user results in
"JBAS015234: No mgmt-groups.properties files found"
--------------------------------------------------------------------------------------------------------
Key: WFLY-2456
URL:
https://issues.jboss.org/browse/WFLY-2456
Project: WildFly
Issue Type: Bug
Components: Scripts
Affects Versions: 8.0.0.Beta1
Environment: Windows 7, 32-bit, jdk1.7.0_45
Reporter: John Lusk
Fix For: Awaiting Volunteers
Just getting started w/Wildfly after a long absence from Java. Fresh download, trying to
hit admin console, got instructed to use add-user to add an admin user.
c:\usr\local\wildfly-8.0.0.Beta1\bin>.\add-user.bat
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a): a
* Error *
JBAS015234: No mgmt-groups.properties files found.
Press any key to continue . . .
c:\usr\local\wildfly-8.0.0.Beta1\bin>echo %JBOSS_HOME%
C:\usr\local\wildfly-8.0.0.Beta1
c:\usr\local\wildfly-8.0.0.Beta1\bin>echo %JAVA_HOME%
C:\java\jdk1.7.0_45
c:\usr\local\wildfly-8.0.0.Beta1\bin>echo %M2_HOME%
C:\usr\local\Maven\3.1.1
c:\usr\local\wildfly-8.0.0.Beta1\bin>mvn -version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 11:22:2
2-0400)
Maven home: C:\usr\local\Maven\3.1.1
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: C:\java\jdk1.7.0_45\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family:
"windows"
c:\usr\local\wildfly-8.0.0.Beta1\bin>