1 Reply Latest reply on Mar 21, 2019 5:13 AM by Arnav Bhati

    How to configure JBOSS 7 consolemanagement

    Soujanya bargavi Newbie

      First, you need to add an 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 flat file directly.

       

      • SSH to JBOSS_HOME/container/and run ./include user.sh (JBoss shouldn't run)
      • Select 'a' possibility for Management User
      • Hit enter to acknowledge "ManagementRealm" as default
      • Client administrator and supply secret key
      • Follow guidelines

       

      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 the 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 your hostname to server hostname or IP, at that point restart the server.