Thursday, May 17, 2018

BEA-240003 java.net.NoRouteToHostException: No route to host (Host unreachable)

Problem

When trying to configure SSL and activating your changes on the WebLogic Admin Console, you get the following error on both the console and in the logs:
<Jun 18, 2017 4:17:04 PM GMT> <Error> <Console> <BEA-240003> <Console encountered the following error java.rmi.RemoteException: [Deployer:149150]An IOException occurred while reading input.; nested exception is:
        java.net.NoRouteToHostException: No route to host (Host unreachable); nested exception is:
        java.net.NoRouteToHostException: No route to host (Host unreachable)

        .
        .
        .
Caused by: java.net.NoRouteToHostException: No route to host (Host unreachable)

        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:344)
Solution

1. This is because the trust.jks you are using is missing the correct chain.

For example, if your identity cert is issued by a CA, you must import that CA intermediate and root certs into trust.jks:
keytool -import -alias PRODCA4 -file PRODCA4.crt -keystore /u01/app/oracle/middleware/keystores/trust.jks

keytool -import -alias PRODTreasury -file PRODTreasury.crt -keystore /u01/app/oracle/middleware/keystores/trust.jks

Applicable Versions
  • Oracle WebLogic server 11g (11.1.1.9.0)

 

2 comments:

srisan ps said...

Data science is a fast-moving field – if you’re pursuing a data science career, or even if you’re just interested in data-related topics, you need to invest time to keep up with the trends. Following a few top blogs is a great way to stay abreast of developments in data analysis, statistical software, data visualization, and more. These AUTOMATIONMINDS bloggers consistently offer great resources and tutorials, along with opportunities to connect with and learn from other leading data science professionals.
DATA SCIENCE training in chennai

siva siva said...

As you have now understood the usage of ‘Record and Playback’ tool, the following are the different posts using which you can explore the functioning of ‘Selenium IDE’
selenium Training in chennai