Link to home
Create AccountLog in
Java

Java

--

Questions

--

Followers

Top Experts

Avatar of thomas908
thomas908

JBoss default username and password
I have just installed JBoss on my system. Can someone please let me know what is the default username and password for logging into "JBoss Web console" and "JMX console"

Thank you

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of anilallewaranilallewar🇮🇳


Avatar of anilallewaranilallewar🇮🇳

On my local m/c, I can access JMX console directly without any username. I use JBoss 4.0.5 GA and can access the console using

http://localhost:8080/

where 8080 is the port where JBoss is listening

Avatar of thomas908thomas908

ASKER

>>Check out the following

I don't want to secure the web console or JMX console. I just want to login into web console and JMX console

>>http://localhost:8080/

For me it asks for username and password

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of anilallewaranilallewar🇮🇳

Whats the JBoss version that you are using?

Jboss 4.2.0

Avatar of anilallewaranilallewar🇮🇳

Can you open the following file?
<JBoss root>\server\default\conf\login-config.xml

Search for <application-policy name = "jmx-console">. Under that you would find the user and role properties file that would have the username-password combinations. Please go to the properties file specified by <module-option name="usersProperties"> and you would get the username password combinations.


Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of anilallewaranilallewar🇮🇳

Also go to <JBoss root>\\server\default\deploy\jmx-console.war\WEB-INF\web.war

Ensure that the security-constraint block is uncommented and below <login-config> block exists after the end of the <security-constraint> block.

<login-config>
   <auth-method>BASIC</auth-method>
   <realm-name><name of application policy from login-config.xml></realm-name>
</login-config>


Avatar of anilallewaranilallewar🇮🇳

thats <JBoss root>\\server\default\deploy\jmx-console.war\WEB-INF\web.xml

Thanks for your reply.

I have attached the properties files (changed extendion to txt so that they get uploaded) available inside conf. I have tried with the username and password given here but still not able to log in.


jbossws-roles.txt
jbossws-users.txt
jmx-console-roles.txt
jmx-console-users.txt

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


ASKER CERTIFIED SOLUTION
Avatar of anilallewaranilallewar🇮🇳

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of anilallewaranilallewar🇮🇳

If you are able to set this up, will let you know the issue and how to fix it for web console.

Thanks a lot for your help
Java

Java

--

Questions

--

Followers

Top Experts

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.