I have been fighting with my JBoss 4.3 for a good hour now just because I want to access the web console located at htpp://localhost:8080/web-console/.
The problem is that no matter what I set for the user in the config file, it is not taken into account.
So here is how I got it to work:
- Go to $JBOSS_HOME/server/default/conf/props
- Add the files web-console-users.properties and web-console-roles.properties
- Edit $JBOSS_HOME/server/default/conf/login-config.xml and make sure that the path to the 2 files above looks like props/web-console-*.properties.
For some fishy reasons, if you have the files right under conf/ and login-config.xml properly referring to them, it will not work. You have to have them in conf/props/ and update the reference in login-config.xml.
24 March 2010
Subscribe to:
Post Comments (Atom)
Have a look at $JBOSS_HOME/server/default/deploy/management/web-console.war/WEB-INF/classes and you'll see why JBoss disregards the properties file in the conf directory. ;-)
No wonder you cannot reach htpp://localhost:8080/web-console/ :p