3 Replies Latest reply on Sep 12, 2016 7:28 AM by 918817

    No available router to destination

    918817

      Hello, Community! I just trying to connect to AdminServer for domainruntime with jconsole:

       

      C:\pf\Java\jdk1.6.0_24\bin\jconsole -J-Djava.class.path=C:\pd\jar\wlfullclient.jar;C:\pf\Java\jdk1.6.0_24\lib\jconsole.jar -J-Djmx.remote.protocol.povider.pkgs=weblogic.management.remote -J-Djava.naming.factory.initial=weblogic.jndi.WLInitialContextFactory -debug

       

      The urls for connect are:

       

      1) service:jmx:iiop://192.168.177.86:7001/jndi/weblogic.management.mbeanservers.domainruntime

      2) service:jmx:rmi:///jndi/iiop://192.168.177.86:7001/weblogic.management.mbeanservers.domainruntime

       

      On the server side JVM have parameter:

      -Djava.rmi.server.hostname=192.168.177.86

       

      JConsle return error:

       

      java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:

          java.net.ConnectException: Connection refused: connect; No available router to destination]

          at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)

          at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)

          at sun.tools.jconsole.ProxyClient.tryConnect(ProxyClient.java:350)

          at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:296)

          at sun.tools.jconsole.VMPanel$2.run(VMPanel.java:280)

      Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:

          java.net.ConnectException: Connection refused: connect; No available router to destination]

          at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)

          at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:792)

          at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)

          at weblogic.jndi.Environment.getContext(Environment.java:315)

          at weblogic.jndi.Environment.getContext(Environment.java:285)

          at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)

          at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)

          at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

          at javax.naming.InitialContext.init(InitialContext.java:223)

          at javax.naming.InitialContext.<init>(InitialContext.java:197)

          at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1884)

          at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)

          at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)

          ... 4 more

      Caused by: java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:

          java.net.ConnectException: Connection refused: connect; No available router to destination

          at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)

          at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)

          at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)

          at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)

          ... 14 more

      Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:

          java.net.ConnectException: Connection refused: connect; No available router to destination

          at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)

          at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)

          at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260)

          at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)

          at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)

          at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)

          at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)

          ... 17 more

       

       

      As i see it trying to connect to 'localhost' instead 192.168.177.86. How to solve this?

       

      Access to web console working fine via http://192.168.177.86:7001/console