Enabling the remoting-connector on the domain.xml is correct.
Adding the user to the ApplicationRealm via the add-user.sh is correct.
On my case the issue was that the application-users.properties that got updated from the add-user.sh script
was the properties file located inside the default domain/configuration folder that ships w/ jboss 7. We have a copy of the domain folder located
on the same jboss container which we call master (e.g master/domain/configuration) Once I copied the properties file (that got updated) from default domain/configuration folder to the the master/domain/configuration, it worked.
I am connecting as described in previous posts:
service:jmx:remoting-jmx://[IP or dns name]:4447 (or 4447 plus port offset). I am passing the credentials used during the add-user.sh script process.