java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection

Oracle Community | 1036845 | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to iferca and rafael . Or join the community to write better ones.
  1. 0

    SSL jdbc connection fails with Diffie-Hellman (DH_ANON) cipher suites

    Oracle Community | 2 years ago | 1036845
    java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
  2. 0
    samebug tip
    If you are using maven you'd like to exclude your binaries from filtering process.
  3. 0
    samebug tip
    Java Keytool doesn't accept PEM files, you need to convert it to Der before: "openssl x509 -outform der -in certificate.pem -out certificate.der" and to import it to the keystore "keytool -import -alias your-alias -keystore cacerts -file certificate.der"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    can I generate a keystore to use with someone else's workspace?

    Stack Overflow | 4 years ago | sharcfinz
    java.io.IOException: Keystore was tampered with, or password was incorrect
  6. 0

    Sthyo: Unable to find valid certification path to requested target? How to Download and Install a Cert in Java

    blogspot.com | 2 years ago
    java.io.IOException: Keystore was tampered with, or password was incorrect

  1. rp 1 times, last 4 months ago
  2. iferca 2 times, last 4 months ago
  3. kid 1 times, last 1 year ago
44 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.security.UnrecoverableKeyException

    Password verification failed

    at sun.security.provider.JavaKeyStore.engineLoad()
  2. Java RT
    KeyStore.load
    1. sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:769)
    2. sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
    3. java.security.KeyStore.load(KeyStore.java:1185)
    3 frames
  3. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.nt.CustomSSLSocketFactory.getTrustManagerArray(CustomSSLSocketFactory.java:406)
    2. oracle.net.nt.CustomSSLSocketFactory.getSSLSocketFactory(CustomSSLSocketFactory.java:311)
    3. oracle.net.nt.TcpsNTAdapter.connect(TcpsNTAdapter.java:110)
    4. oracle.net.nt.ConnOption.connect(ConnOption.java:130)
    5. oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
    6. oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
    7. oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
    8. oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
    9. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
    10. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
    11. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
    12. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
    13. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    14. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    14 frames
  4. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:582)
    2. java.sql.DriverManager.getConnection(DriverManager.java:154)
    2 frames
  5. oracle.bi.modeling
    Test.main
    1. oracle.bi.modeling.Test.createConnection(Test.java:50)
    2. oracle.bi.modeling.Test.main(Test.java:18)
    2 frames