I'm not sure add-user.sh accepts setting base.dir - from my experience it just uses the standalone and domain configuration directories directly under JBOSS_HOME.
It would be cool if it did though, will try again tomorrow.
Maybe specify jboss.server.configuration.dir?
Riccardo Pasquini wrote:
jboss.server.configuration.dir should derive from the base dir (https://docs.jboss.org/author/display/AS71/Command+line+parameters)
Absolutely. Only the add-user.sh does not respect setting either base.dir or configuration.dir.
I have the same problem trying to add admin users to a server config located elsewhere, using
It just adds users to standalone/configuration and domain/configuration...
So, you have to copy it manually it looks...
Please feel free to raise a Jira is properties you are expecting to be respected are not being considered.
Or even better accompany it with a pull request with some proposed changes