-
1. Re: How to log in to admin console?
fredand44 Jan 12, 2017 1:05 AM (in response to fredand44)Hello!
I just found out that our JBoss 6 where we have this problem is built on RHEL. I'm not sure what RHEL means but I guess it differs from a plain JBoss 6. Because when I do the same (set up a user and log in to admin-console) on my local machine with a JBoss 6 it works fine.
Hope this is a clue for someone to perhaps have a hint for me.
Best regards
Fredrik
-
2. Re: How to log in to admin console?
fredand44 Jan 12, 2017 1:08 AM (in response to fredand44)Aha! RHEL looks like it stands for: Red Hat Enterprise Linux
...but does that JBoss differ so much from a plain JBoss?
Best regards
Fredrik
-
3. Re: How to log in to admin console?
mayerw01 Jan 12, 2017 5:00 AM (in response to fredand44)To log in to the admin console you need to create a Management-User (mgmt-users.properties). You should also not assign any role to this user.
I'd suggest that you execute add-user.sh again.
-
4. Re: How to log in to admin console?
fredand44 Jan 12, 2017 6:10 AM (in response to mayerw01)Hello!
Thanks for your reply!
I suspect that the problem is that when I execute add-user.sh from:
/opt/jboss/jboss-eap-6.4/bin.
...then it writes to files in:
/opt/jboss/jboss-eap-6.4/standalone/configuration
/opt/jboss/jboss-eap-6.4/domain/configuration
But it looks like (perhaps since we use RHEL) it should write to files in:
/usr/local/limbo/jboss/configurationWe have some guys that have set this up for us, I will try to ask them how run add-user correct this.I guess that the use of /usr/local/limbo/jboss might not be standard, perhaps it just applies to us?I get back as soon as I can.If you got any suggestions please let me know!Best regardsFredrik -
5. Re: How to log in to admin console?
manu29585 Jan 17, 2017 9:21 PM (in response to fredand44)In essence, you should be able to login to JMX-console: https://<server-ip>/jmx-console.
I'm assuming your question is related to logging into JMX console for management.
Navigate to $JBOSS_HOME/server/default/conf/props and look for jmx-console-users.properties
Here by default, this will have admin=admin entry which is a property for username=password
Also. under the same folder, you'll find jmx-console-roles.properties and check if for the user admin, whether you have JBossAdmin role or not.
-
6. Re: How to log in to admin console?
fredand44 Jan 19, 2017 8:50 AM (in response to fredand44)Hello!
It turned out that I needed to pass the filepath as parametrar to add-usel.sh.
Best regards
Fredrik