tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52025] 7.0.21 and newer break the JDK 6 Service provider mechanism for loading JDBC Drivers
Date Mon, 17 Oct 2011 13:52:48 GMT

--- Comment #8 from Rick Bullotta <> 2011-10-17 13:52:48
UTC ---
Thanks, Mark.  Probably the reason they left the Service provider stuff in
sun.misc!!!  We'll just go back to the ever-popular Class.forName, which
(almost) always works...

(In reply to comment #7)
> 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:
> You may find this presentation on memory leaks useful / interesting:

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message