javax.sql.DataSource.getConnection() implementation in WrappedCdmDataSource fails to cache the connection which and leaves it unclosed
When the existing cached connection in the WrappedCdmDataSource is null a new connection will be created but is not stored in the
connection field. When
closeOpenConnections() is being called the created connection is not closed
the same account for
getConnection(String username, String password)
It would be better to fix #8170, but this might require more time.
closeOpenConnections(). The WrappedCdmDataSource always only handles only one connection and should actually not deal with more than one connection at the same time.
fix #8171 internally caching new connection in WrappedCdmDataSource to avoid connection leaks