tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52025] 7.0.21 and newer break the JDK 6 Service provider mechanism for loading JDBC Drivers
Date Sun, 16 Oct 2011 20:14:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52025

Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #7 from Mark Thomas <markt@apache.org> 2011-10-16 20:14:52 UTC ---
I am closing this as INVALID as the Service Provider mechanism for
DriverManager is - as I suspected - broken for servlet container environments.
Given that it was a lottery if this ever worked before, that it now
consistently doesn't work isn't really a regression.

What I have done is updated the documentation to try and explain what is going
on and how to work-around it. Basically, just assume the service provider
mechanism isn't there and manually register (and deregister) the Driver.

The change for the updated docs is here:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml?r1=1184919&r2=1184918&pathrev=1184919

You may find this presentation on memory leaks useful / interesting:
http://people.apache.org/~markt/presentations/2010-11-04-Memory-Leaks-60mins.pdf

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message