Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.2
-
None
-
%
-
Description
After restarting fabric (in the same Linux terminal window), the JMX connection to the 3rd ssh container fails(all containers run on the same host where fabric is started).
The JMX url is aquired using container-info command.
JMX connection fails both via jconsole and java client. (The java client from https://issues.jboss.org/browse/ENTESB-1611 can be used).
The java client throws exception:
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: karaf-broker-nossl-b-c2 at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268) at SimpleJMX.main(SimpleJMX.java:42) Caused by: javax.naming.NameNotFoundException: karaf-broker-nossl-b-c2 at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:116) at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:203) at javax.naming.InitialContext.lookup(InitialContext.java:411) at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1936) at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1903) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:286) ... 2 more
JMX url for karaf-broker-nossl-b-c2:
service:jmx:rmi://vpn1-51-195.bne.redhat.com:44447/jndi/rmi://vpn1-51-195.bne.redhat.com:1102/karaf-broker-nossl-b-c2
Among open ports for process corresponding to karaf-broker-nossl-b-c2 there is no port 44447.
[emedvede@dhcp-4-224 jboss-fuse-6.2.0.redhat-066]$ ss -lntp| grep 15568 LISTEN 0 50 :::8104 :::* users:(("java",15568,296)) LISTEN 0 50 :::1102 :::* users:(("java",15568,293)) LISTEN 0 1 ::ffff:127.0.0.1:42542 :::* users:(("java",15568,274)) LISTEN 0 50 :::52759 :::* users:(("java",15568,92)) LISTEN 0 1 ::ffff:127.0.0.1:38039 :::* users:(("java",15568,43)) LISTEN 0 50 :::8184 :::* users:(("java",15568,127))
For another container, for which jmx works, the corresponding port 44446 was opened.
Attachments
Issue Links
- relates to
-
ENTESB-2190 io.fabric8.common.util.MultiException when deploying more broker instances in fabric
- Closed