Looking for more information about a bug [message #675578] |
Mon, 08 April 2019 00:06 |
|
ron.burdo
Messages: 2 Registered: April 2019
|
Junior Member |
|
|
Hi,
I am facing a strange bug when using Oracle JDBC driver 12.1.0.2 .
From time to time, connecting the database fail with the following exception:
Caused by: java.sql.SQLRecoverableException: IO Error: Server key, connect lapse 3 ms., Authentication lapse 0 ms.
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:794)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:688)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:39)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:691)
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:319)
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212)
at org.apache.tomcat.jdbc.pool.PooledConnection.reconnect(PooledConnection.java:372)
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:825)
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:655)
at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:198)
...
Caused by: java.io.IOException: Server key, connect lapse 3 ms., Authentication lapse 0 ms.
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:790)
... 17 more
Caused by: java.io.IOException: Server key, connect lapse 3 ms.
at oracle.net.ns.NSProtocolNIO.negotiateConnection(NSProtocolNIO.java:138)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:317)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1438)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:518)
... 17 more
Caused by: javax.net.ssl.SSLException: Server key
at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1537)
at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:528)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:802)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:766)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at oracle.net.nt.SSLSocketChannel.unwrap(SSLSocketChannel.java:444)
at oracle.net.nt.SSLSocketChannel.handshake(SSLSocketChannel.java:350)
at oracle.net.nt.SSLSocketChannel.write(SSLSocketChannel.java:238)
at oracle.net.ns.NIOPacket.writeToSocketChannel(NIOPacket.java:211)
at oracle.net.ns.NIOConnectPacket.writeToSocketChannel(NIOConnectPacket.java:232)
at oracle.net.ns.NSProtocolNIO.negotiateConnection(NSProtocolNIO.java:108)
... 20 more
Caused by: javax.net.ssl.SSLException: Server key
at sun.security.ssl.Handshaker.throwSSLException(Handshaker.java:1434)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:304)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:970)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:967)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1459)
at oracle.net.nt.SSLSocketChannel.runTasks(SSLSocketChannel.java:609)
at oracle.net.nt.SSLSocketChannel.unwrap(SSLSocketChannel.java:454)
... 25 more
Caused by: java.security.SignatureException: Signature length not correct: got 127 but was expecting 128
at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:189)
at java.security.Signature$Delegate.engineVerify(Signature.java:1222)
at java.security.Signature.verify(Signature.java:655)
at sun.security.ssl.HandshakeMessage$ECDH_ServerKeyExchange.<init>(HandshakeMessage.java:1120)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:300)
... 32 more
I googled and found a documented issue which seems to be exactly the bug I faced. Doc ID is 2394036.1 .
However, there is no access to the full information and solution about this bug.
Can anyone help?
Thanks
|
|
|
|
|
|