Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-7443

JMX: rmiRegistryHost=0.0.0.0 Runtime IO exception: no such object in table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.2.15
    • 4.4.3, 4.3.9
    • karaf

    Description

      Setting rmiServerHost/rmiRegistryHost to 0.0.0.0 no longer allows connections from remote hosts:

      $>open service:jmx:rmi://10.11.12.13:44444/jndi/rmi://10.11.12.13:1099/karaf-root -u karaf -p karaf
      #RuntimeIOException: Runtime IO exception: no such object in table 

      ...but allows from actual host:

      $>open service:jmx:rmi://10.11.12.13:44444/jndi/rmi://10.11.12.13:1099/karaf-root -u karaf -p karaf
      #Connection to service:jmx:rmi://10.11.12.13:44444/jndi/rmi://10.11.12.13:1099/karaf-root is opened
      

      This behavior changed somewhere between 4.2.10 and 4.2.15 (im guessing https://issues.apache.org/jira/browse/KARAF-6955)

      Setting rmiServerHost/rmiRegistryHost to the interface IP (10.11.12.13) works around the issue, but then ports 1099/44444 are bound to that interface.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jandrade João Andrade
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: