Bob Paulin created NIFI-15383:
---------------------------------

             Summary: Ensure JDBC Driver is deregistered when it gets loaded in 
the HikariCPConnectionPool 
                 Key: NIFI-15383
                 URL: https://issues.apache.org/jira/browse/NIFI-15383
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Bob Paulin


When the HikariCPConnectionPool loads a Driver it registeres to the 
DriverManager on class load with many current drivers.  The DriverManager 
exists in the System Classloader.    This will prevent the InstanceClassLoader 
that the HikariCPConnectionPool is running in from being Garbage Collected.  

The Driver should be deregistered onRemove to prevent this leak.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to