Details

      Description

      Steps to reproduce issue:

      1. Start portal on JDK 11
      2. Let the instance sit idle for some time

      Expected result: No exceptions are thrown
      Actual result: A series of exceptions are thrown:

      Wed Mar 06 00:33:40 GMT 2019 WARN: Caught while disconnecting...
      
      EXCEPTION STACK TRACE:
      
      
      
      ** BEGIN NESTED EXCEPTION **
      
      javax.net.ssl.SSLException
      MESSAGE: closing inbound before receiving peer's close_notify
      
      STACKTRACE:
      
      javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify
              at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:129)
              at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
              at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:308)
              at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:264)
              at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:255)
              at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:645)
              at java.base/sun.security.ssl.SSLSocketImpl.shutdownInput(SSLSocketImpl.java:624)
              at com.mysql.cj.protocol.a.NativeProtocol.quit(NativeProtocol.java:1319)
              at com.mysql.cj.NativeSession.quit(NativeSession.java:182)
              at com.mysql.cj.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:1750)
              at com.mysql.cj.jdbc.ConnectionImpl.close(ConnectionImpl.java:720)
              at com.zaxxer.hikari.pool.PoolBase.quietlyCloseConnection(PoolBase.java:139)
              at com.zaxxer.hikari.pool.HikariPool.lambda$closeConnection$1(HikariPool.java:419)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at java.base/java.lang.Thread.run(Thread.java:834)
      
      
      ** END NESTED EXCEPTION **
      

      Note: This is specific to the MySQL 8.0 connector; the exception can be reproduced with MySQL 5.7 and MySQL 8.0.

      Reproduced on:
      Tomcat 9.0.10 + MySQL 8.0 + OpenJDK JDK 11
      Portal master GIT ID: 02a4910db795d2db35c4fd7a7a617a9d697dafc4

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                22 hours, 7 minutes ago