Tuesday, December 31, 2013

Connection refused; No available router to destination On Weblogic Node Manager Log

Caused by: java.net.ConnectException: t3://exalytic.domain:8001: Destination unreachable; nested exception is:

The Above Error Appear when i was trying to access BPM, the main Cause for this error there's no configuration protocol on SOA Server Which mean No Listening Host.


To Avoid and Solve this error Follow the below Steps :



  • Access to weblogic Console using Administrator Password.
  • Click on Servers -> Protocols -> Channels like the below screen

  • Now you have to create new Protocol Click on "Configure a new Network Channel,"with the below confguration 
Name: Loopback
Protocol: t3
Listen Address: localhost
Listen Port: 8001 (same as Server Host/port)

  • Restart The Server and test the connection Again 

Thank you
Osama Mustafa

15 comments:

  1. HI Osama,

    Please help me. We have the similar error.
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    at oracle.apps.ad.util.WLUtil.initMBeanServerConnection(WLUtil.java:111)
    at oracle.apps.ad.tools.configuration.SyncContext.(SyncContext.java:203)
    at oracle.apps.ad.tools.configuration.SyncContext.main(SyncContext.java:586)
    Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://appl:7001: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)

    ReplyDelete
    Replies
    1. Did you Check that appl (destination name ) resolves to an IP address , pingable and port is open

      Delete
  2. Hi Osama,

    I am getting this error :
    java.net.ConnectException: Connection refused: connect; No available router to destination

    I have 2 servers : Admin and OSB Server.

    I am passing data to OSB Queue from my Java Bean.
    But I am getting error at this step :
    this.getInitialContextProperties().put(Context.PROVIDER_URL,
    PropertyReader.getProperty(IConstants.WEBLOGIC_PROVIDER_URL));
    When I am providing OSB Server port number then it is giving above error that destination is not reachable.
    But If I am giving Admin server port then it is making connection successfully.

    Request you to please provide some input that how can I use my managed server port

    Thanks in Advance.

    ReplyDelete
  3. Hi,

    please i have this error, when i want stop the weblogic server :

    XXXXXX\bin>stopPIA.cmd

    Submitting shutdown command for PIA via the admin server at t3://XXXXXXXXX:8080

    Stopping Weblogic Server...

    Failed to connect to t3://xxxxxxxxx:8080: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused: connect; No available router to destination

    Thanks in Advance.

    ReplyDelete
  4. Worked perfectly! Thanks!

    ReplyDelete
  5. Hi Obama,

    I am getting following error, please let me know your inputs:

    JMS Connection exception: weblogic.messaging.dispatcher.DispatcherException: java.rmi.RemoteException: Could not establish a connection with -1878657929076759149S:<IP ADDRESS>:[-1,-1,15201,15201,-1,-1,-1]:<CLUSTER NAME>, java.rmi.ConnectException: No known valid port for: 'Default[t3]:t3(t3):null:-1:<IP ADDRESS 2>:-1'; No available router to destination; nested exception is:
    java.rmi.ConnectException: No known valid port for: 'Default[t3]:t3(t3):null:-1:<IP ADDRESS 2>:-1'; No available router to destination; nested exception is:
    java.rmi.ConnectException: Could not establish a connection with -1878657929076759149S:<IP ADDRESS>:[-1,-1,15201,15201,-1,-1,-1]:<CLUSTER NAME>, java.rmi.ConnectException: No known valid port for: 'Default[t3]:t3(t3):null:-1:<IP ADDRESS 2>:-1'; No available router to destination; nested exception is:
    java.rmi.ConnectException: No known valid port for: 'Default[t3]:t3(t3):null:-1:<IP ADDRESS 2>:-1'; No available router to destination

    ReplyDelete
  6. This solution solves my problem
    Thanx

    ReplyDelete
  7. Hi I wanted to run weblogic medrec project by docker but got the below error after ran command on ubuntu "docker run -d -p 7001:7001 1221-medrec"

    Problem invoking WLST - Traceback (innermost last):
    [java] File "/u01/oracle/wlserver/samples/server/medrec/install/common/startAdminServer.py", line 11, in ?
    [java] File "", line 366, in startServer
    [java] File "", line 553, in raiseWLSTException
    [java] WLSTException: Error occurred while performing startServer : Could not start the server, the process might have timed out or there is an Error starting the server. Please refer to the log files for more details.
    [java]
    [java] .........Could not connect to the server to verify that it has started. The error returned is: javax.naming.CommunicationException: t3://localhost:7001: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 7001 unreachable.; nested exception is:
    [java] java.net.ConnectException: Connection refused; [RJVM:000576]No available router to destination.; nested exception is:
    [java] java.rmi.ConnectException: [RJVM:000576]No available router to destination. [Root exception is java.net.ConnectException: t3://localhost:7001: [RJVM:000575]Destination 0:0:0:0:0:0:0:1, 7001 unreachable.; nested exception is:
    [java] java.net.ConnectException: Connection refused; [RJVM:000576]No available router to destination.; nested exception is:
    [java] java.rmi.ConnectException: [RJVM:000576]No available router to destination.]
    [java] WLST-WLS-1464625798480: IOException when running WLSTProcess
    [java] WLST-WLS-1464625798480: Stopped draining WLST-WLS-1464625798480
    [java] No stack trace available.

    BUILD FAILED
    /u01/oracle/wlserver/samples/server/medrec/build.xml:27: The following error occurred while executing this line:

    Could anybody please have a look and help me to resolve the error

    ReplyDelete
    Replies
    1. there could be several reasons, the server is hang, down, and thus not responding to a ping, or it could be related to a network issue.

      Delete
  8. Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused; No available router to destination]
    Could anybody please have a look and help me to resolve the error

    ReplyDelete
  9. The connectivity to the ESSO Reporting database

    ReplyDelete
  10. You really saved my day.
    Thank you

    ReplyDelete