The specific error is a safety check. The way the options are specified, the tool was
being told to modify the mgmt-*.properties file, using an ApplicationRealm. So it tried to
do that, but when examining the file, it noticed that the realm name does not match, and
so throws the error.
It picks up on this line in the file:
#$REALM_NAME=ManagementRealm$ This line is used by the add-user utility to identify the
realm name already used in this file.
On Nov 1, 2013, at 2:37 PM, Arun Gupta <arun.gupta(a)gmail.com> wrote:
Stuart,
I was not saying this is a bug, just trying to understand better. Each
realm can use different property file but does that information needs
to be exposed to the user ?
Nick,
Default behavior is good but a non-interactive mode is more likely to
be used IMHO.
Arun
On Fri, Nov 1, 2013 at 12:16 PM, Nikolaos Ballas <mpallas(a)gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On that I agree with Stuart,
>
> you can use the script without arguments and it will guide you through
> also by checking other stuff and informs you about the security you
> want to apply. It will put you to select the realm and do the
> configuration accordingly.
>
> regards
> Nick
> On 01/11/2013 19:08, Stuart Douglas wrote:
>>>
>>> Thanks for the complete command, that worked!
>>>
>>> Just wondering what other values can be taken by the last two
>>> arguments ? And why would they need a different value ?
>>>
>>
>> because each realm uses a different property file. TBH I am not
>> sure if this is a bug or not. if you use the tool without any
>> arguments it automatically does the right thing. Perhaps someone
>> who is more familiar with the tool could comment.
>>
>> Stuart
>>
>>
>>>
>>> Arun
>>>
>>>
http://blog.arungupta.me http://twitter.com/arungupta
>>>
>>
>>
>>
>> _______________________________________________ wildfly-dev mailing
>> list wildfly-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/wildfly-dev
>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
>
> iF4EAREIAAYFAlJz/hMACgkQM4d5SPwi8EusKwEAg+/nDApRkExcQ3Bqh4u7L4zA
> t/40dNNQIN+GdPpkS4AA/1pgrbBRo6R2f46qMlv/y/6ljQiVbhiYNEjguoEwbzg5
> =n46e
> -----END PGP SIGNATURE-----
>
_______________________________________________
> wildfly-dev mailing list
> wildfly-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/wildfly-dev
--
http://blog.arungupta.me
http://twitter.com/arungupta
_______________________________________________
wildfly-dev mailing list
wildfly-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/wildfly-dev
--
Jason T. Greene
WildFly Lead / JBoss EAP Platform Architect
JBoss, a division of Red Hat