7.2. Configuring Apache HTTP Server for JBoss ON Monitoring

To allow JBoss ON to monitor Apache HTTP Server in Red Hat JBoss Web Server, you must enable the mod_bmx modules.

Procedure 7.2. Configuring Apache HTTP Server for JBoss ON Monitoring

  1. As the apache user, enable the mod_bmx modules. Create the file JWS_HOME/httpd/conf.d/mod_bmx.conf with the following contents:
    LoadModule bmx_module modules/mod_bmx.so
    LoadModule bmx_status_module modules/mod_bmx_status.so
    LoadModule bmx_vhost_module modules/mod_bmx_vhost.so
  2. Add a handler for mod_bmx. In JWS_HOME/httpd/conf/httpd.conf, append your handler definition. For example:
    <Location /bmx>
    SetHandler bmx-handler
    </Location>
    
    You may want to restrict access to this URL to a specific virtual host or use password authentication.
  3. Restart the Apache HTTP Server. You can access http://SERVER_ADDRESS:PORT/bmx in a web browser to verify that mod_bmx is working correctly.
  4. The Apache HTTP Server in your JBoss Web Server installation will now be discoverable for JBoss ON. In JBoss ON, you can import it from the Discovery Queue.
    Consult the JBoss ON documentation for further details on monitoring and managing Apache HTTP Server.