[
https://issues.apache.org/jira/browse/NIFI-15383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-15383.
-------------------------------------
Fix Version/s: 2.8.0
Assignee: Bob Paulin
Resolution: Fixed
> 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
> Assignee: Bob Paulin
> Priority: Major
> Fix For: 2.8.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> 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)