Configuring JBoss 7 Management Console

Configuring JBoss 7 Management Console

First you need to add admin user to your managements memory realm database. JBoss 7 has a new process for adding this via a script instead of editing the props flatfile directly.

  1. SSH to JBOSS_HOME/bin/ and run ./add-user.sh (JBoss does not need to be running)
  2. Select 'a' option for Management User
  3. Hit enter to accept "ManagementRealm" as default
  4. User admin and supply password
  5. Follow instructions

Now you need to allow connection to the manager remotely. In the older versions of JBoss you simply uses the -b 0.0.0.0 option when starting it up. But now you can add this configuration instead. Configure the standalone.xml to allow access to server from remote add IP or hostname to interfaces within JBOSS_HOME/standalone/configuration/standalone.xml

<!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
<interfaces>  
  <interface name="management">     <!-- bind to the hostname --> 
    <!inet-address value="your-hostname">   </inet-address>
  </interface>
  <interface name="public">     <!-- bind to the hostname -->       
    <inet-address value="your-hostname"> </inet-address>
  </interface>
</interfaces>

Change the your hostname to server hostname or IP, then restart the server.

JavaPipe can offer JBoss hosting upon request, its standard Tomcat hosting with Java support is based on Apache Tomcat in the cloud. Don't hesitate to open a ticket if anything's unclear. If you're developing the Java application that you want to host online, we recommend using the Spring MVC framework for development. 

  • 290 Users Found This Useful
Was this answer helpful?

Related Articles

Spring Framework

Need to develop Plain Old JAVA Objects? Want to have fun developing your application? Then we...

Subdomain Handling Tutorial

This tutorial explains how you can host subdomains with JavaPipe's Tomcat hosting. This is...

Pointer Domain Handling Tutorial

This tutorial explains how you can host pointer domains with a Java web hosting package from...

Choosing between JBoss7's Standalone or Domain features.

JBoss 7 introduced new feature called managed domains. Basically this is a multi-server...

How do I restart my tomcat?

However, if you have a private Tomcat instance with a Java host like us, then you have the...