java.sql.SQLException: The Network Adapter could not establish the connection

anowak.net | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Artur Nowak's headdump

    anowak.net | 9 months ago
    java.sql.SQLException: The Network Adapter could not establish the connection

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      SSLv2Hello

      at com.ibm.jsse2.mb.a()
    2. com.ibm.jsse2
      jc.setEnabledProtocols
      1. com.ibm.jsse2.mb.a(mb.java:6)
      2. com.ibm.jsse2.lb.<init>(lb.java:16)
      3. com.ibm.jsse2.jc.setEnabledProtocols(jc.java:245)
      3 frames
    3. Oracle jdbc
      OracleDriver.connect
      1. oracle.net.nt.TcpsConfigure.configureVersion(TcpsConfigure.java:177)
      2. oracle.net.nt.TcpsNTAdapter.setSSLSocketOptions(TcpsNTAdapter.java:146)
      3. oracle.net.nt.TcpsNTAdapter.connect(TcpsNTAdapter.java:121)
      4. oracle.net.nt.ConnOption.connect(ConnOption.java:123)
      5. oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:337)
      6. oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
      7. oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:672)
      8. oracle.net.ns.NSProtocol.connect(NSProtocol.java:237)
      9. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
      10. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
      11. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531)
      12. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
      13. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
      14. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
      14 frames
    4. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:562)
      2. java.sql.DriverManager.getConnection(DriverManager.java:155)
      2 frames
    5. Unknown
      OracleSSLTest.main
      1. OracleSSLTest.main(Test.java:15)
      1 frame