1 Reply Latest reply on Jan 27, 2004 12:21 PM by juha

    RMI connector

    ghinkl

       

      "ghinkl" wrote:
      Hi all. I'd like to be able to connect my application to different versions of JBoss via the RMI adaptor, but can't hit on a setup that works for all versions 3.x - 4.x. (with the correct library versions of course).

      I previously created a local ConnectorFactoryService and used that to find all available connectors on a server and then chose one to connect to. This seemed to stop working with 3.2.3 when the service stopped returning any connectors.

      I've switch to manually looking up the RMIAdaptor in JDNI at "jmx/rmi/RMIAdaptor" which works ok in 3.2.3 but not at all in 4.0. With 4.x, the jndi name appears to be back to the connector style "jmx:<host>:rmi". (But without the connector factory providing that, how will I know what host to use?)

      What is the intended and proper way to make an RMI connection to the JBoss JMX adaptor?


        • 1. Re: RMI connector

           

          "juha@jboss.org" wrote:
          jmx/rmi/RMIAdpator for 3.2.x series.

          Apparently this hasn't been ported to 4.0, chances are that 4.0 will use JSR-160 to connect to JMX.

          jmx::rmi is most definitely going away