4 Replies Latest reply on Oct 4, 2002 10:15 AM by Subu

    RemoteMBeanServer by using RMIConnector

    Subu Newbie

      Hi ,
      I am using Jboss 3.0.0. Is it possbile to bind the RMI connector to the IPaddress rather than to the machine name?.

      eg:

      Currently,
      jmx:machineName:rmi

      Is this possible

      jmx:155.228.34.21:rmi


      Thanks in Advance.
      Regards,
      Subu

        • 1. Re: RemoteMBeanServer by using RMIConnector
          Adrian Brock Master

          Unfortunatley, it is hardwired.

          You could sub-class the MBean and override
          startService() or getJndiName()

          Regards,
          Adrian

          • 2. Re: RemoteMBeanServer by using RMIConnector
            Subu Newbie

            Thanks for the reply. The problem I was facing is I have JMX agents running remotely and clients to access these agents know only IPaddress of the agents at runtime. So to retreive the host name from the IPadress which are on different networks is not possible. Am I rite here?.

            So according to your suggesstion I need to subclass RMIAdaptor class?.
            Is there any documentation which could help me or a sample code?.
            Thanks in Advance
            Subu

            • 3. Re: RemoteMBeanServer by using RMIConnector
              Subu Newbie

              Thanks for the reply. The problem I was facing is I have JMX agents running remotely and clients to access these agents know only IPaddress of the agents at runtime. So to retreive the host name from the IPadress which are on different networks is not possible. Am I rite here?.

              So according to your suggesstion I need to subclass RMIAdaptor class?.
              Is there any documentation which could help me or a sample code?.
              Thanks in Advance
              Subu

              • 4. Re: RemoteMBeanServer by using RMIConnector
                Subu Newbie

                Thanks for the reply. The problem I was facing is I have JMX agents running remotely and clients to access these agents know only IPaddress of the agents at runtime. So to retreive the host name from the IPadress which are on different networks is not possible. Am I rite here?.

                So according to your suggesstion I need to subclass RMIAdaptor class?.
                Is there any documentation which could help me or a sample code?.
                Thanks in Advance
                Subu