Configuration properties:


RegistryPort - default is Registry.REGISTRY_PORT (1099)


BindAddress - default is InetAddress.getLocalHost().getHostName() (will also use this if BindAddress set to


JndiPath - default is JNDI_PATH_DEFAULT (value of /jmxconnector)



These can be set within the jboss-service.xml found under server/default/jmx-remoting.sar/META-INF.  By default, the contents of this file is as follows:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>

<!-- ======================================================== -->
<!-- Example JBoss JMX Remoting Service Configuration file        -->
<!-- ======================================================== -->

   <!-- NOTE: set this up to the path where your libraries are -->
   <classpath codebase="lib"

   <mbean code=""
      display-name="JMX Connector Server (RMI)">
               <attribute name="BindAddress">${jboss.bind.address}</attribute>
            <!-- if comment this out, will use 1099 as default and will conflict -->
            <!-- with default JNP (JNDI) port. -->
            <attribute name="RegistryPort">1090</attribute>
            <!-- the path to which will be bound in rmi registry -->
            <!-- the commented value below is the default. -->
            <!-- <attribute name="JndiPath ">/jmxconnector</attribute> -->



With the default configuration, the JMX Service URL to connecto to the server is




Note:  This is currently only available in CVS HEAD (JBossAS 5).  Will be backported to 4.x release once security support is added.