Hi folks,

in bug 62670 [1] -- contrary to my statement -- Mark pointed out that is it pefectly legal to have a JDBC driver in WEB-INF/lib. While I was living for years with the assumption that this is discouraged because the DriverManager is VM wide and not classloader-wide, plus numerous SO questions have been asked about this.

While reading [2] it is still not clear why this is a perfectly legal case.

How can we improve the docs to make it crystal clear for users under which circumstances a driver is valid in WEB-INF/lib?

[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=62670#c2
[2] http://tomcat.apache.org/tomcat-9.0-doc/jndi-datasource-examples-howto.html

Regards,

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to