-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
jluhrsen is seeing this on particular environment (but not everywhere) :
We initially had some confusion because 2 separate logs were submitted. This bug with the new log has nothing to do with INFRAUTILS-36 (part of INFRAUTILS-31) nor is it related to the technical enhancement proposed in INFRAUTILS-37.
I suspect this could perhaps be related to that environment having a particular networking config.
2018-05-02T14:01:50,905 | ERROR | pipe-showSvcStatus | DiagStatusCommand | 233 - org.opendaylight.infrautils.diagstatus-shell - 1.4.0.SNAPSHOT | Exception while reaching Host 127.0.0.1 java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused (Connection refused)] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369) [?:?] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270) [?:?] at org.opendaylight.infrautils.diagstatus.MBeanUtils.invokeRemoteJMXOperation(MBeanUtils.java:160) [231:org.opendaylight.infrautils.diagstatus-api:1.4.0.SNAPSHOT] at org.opendaylight.infrautils.diagstatus.shell.DiagStatusCommand.getRemoteStatusSummary(DiagStatusCommand.java:74) [233:org.opendaylight.infrautils.diagstatus-shell:1.4.0.SNAPSHOT] at org.opendaylight.infrautils.diagstatus.shell.DiagStatusCommand.execute(DiagStatusCommand.java:47) [233:org.opendaylight.infrautils.diagstatus-shell:1.4.0.SNAPSHOT] at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:34) [49:org.apache.karaf.shell.core:4.1.5] at Proxybdb3a43e_422e_473e_8dcb_4c63b2f0ef41.execute(Unknown Source) [?:?] at org.apache.karaf.shell.compat.CommandTracker.execute(CommandTracker.java:120) [49:org.apache.karaf.shell.core:4.1.5] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) [49:org.apache.karaf.shell.core:4.1.5] at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) [49:org.apache.karaf.shell.core:4.1.5] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:571) [49:org.apache.karaf.shell.core:4.1.5] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:497) [49:org.apache.karaf.shell.core:4.1.5] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:386) [49:org.apache.karaf.shell.core:4.1.5] at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:417) [49:org.apache.karaf.shell.core:4.1.5] at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) [49:org.apache.karaf.shell.core:4.1.5] at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) [49:org.apache.karaf.shell.core:4.1.5] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Caused by: javax.naming.ServiceUnavailableException at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:136) ~[?:?] at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205) ~[?:?] at javax.naming.InitialContext.lookup(InitialContext.java:417) ~[?:?] at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1955) ~[?:?] at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1922) ~[?:?] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287) ~[?:?] ... 19 more Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused (Connection refused) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) ~[?:?] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) ~[?:?] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) ~[?:?] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:338) ~[?:?] at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:112) ~[?:?] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:132) ~[?:?] at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205) ~[?:?] at javax.naming.InitialContext.lookup(InitialContext.java:417) ~[?:?] at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1955) ~[?:?] at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1922) ~[?:?] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287) ~[?:?] ... 19 more Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:?] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:?] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:?] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:?] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?] at java.net.Socket.connect(Socket.java:589) ~[?:?] at java.net.Socket.connect(Socket.java:538) ~[?:?] at java.net.Socket.<init>(Socket.java:434) ~[?:?] at java.net.Socket.<init>(Socket.java:211) ~[?:?] at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) ~[?:?] at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148) ~[?:?] at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613) ~[?:?] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) ~[?:?] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) ~[?:?] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:338) ~[?:?] at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:112) ~[?:?] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:132) ~[?:?] at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205) ~[?:?] at javax.naming.InitialContext.lookup(InitialContext.java:417) ~[?:?] at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1955) ~[?:?] at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1922) ~[?:?] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287) ~[?:?] ... 19 more