]
Brandon Gaisford commented on WFCORE-640:
-----------------------------------------
Darran,
Regarding the timeliness, understood. I spent a good deal of time over the weekend
researching the issue, most notably trying to get my head around Windows file permissions.
I feel like I have a good handle on the permissions now and a reasonable Windows 7 test
environment. Regarding JDK7, I believe there were updates [1] that may allow AddUser code
to check some permissions up front.
In order to limit the scope of the analysis/development I'm going to make some
assumptions:
i) Will assume end user installed WildFly directory structure matches that generated by
the WildFly build process
ii) Will assume end user file permissions do not prevent user from executing add-user.bat
Will do my best to get you updates (assuming there are some) quickly.
[1]
Bad permissions on properties files when using add-user.bat for
results in "JBAS015234: No mgmt-groups.properties files found"
------------------------------------------------------------------------------------------------------------------------------
Key: WFCORE-640
URL:
https://issues.jboss.org/browse/WFCORE-640
Project: WildFly Core
Issue Type: Bug
Components: Scripts
Environment: Windows 7, 32-bit, jdk1.7.0_45
Reporter: John Lusk
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>