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
- is related to
-
KARAF-7610 JMX: rmiRegistryHost=0.0.0.0 not working
- Resolved