https://issues.apache.org/bugzilla/show_bug.cgi?id=50068
Summary: Memory leak with Driver registration
Product: Taglibs
Version: 1.2.0
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: Standard Taglib
AssignedTo: [email protected]
ReportedBy: [email protected]
The <sql:setDataSource> tag may instantiate a new instance of a JDBC Driver
from a Class name supplied as a tag attribute. This is done using the
application's ClassLoader. The JDBC specification recommends that
implementations register instances of their Driver with the DriverManager
during class (static) initialization. As a result, the DriverManager will
retain references to classes loaded by the application ClassLoader leading to a
memory leak.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]