On 23/03/2014 18:40, John Vasileff wrote:
> In Tomcat 8, WebappClassLoader disallows overrides of
> org.apache.tomcat.* classes which includes org.apache.tomcat.jdbc.*.
> As a result, it is impossible to use the Tomcat JDBC pool with a JDBC
> driver in WEB-INF/lib. On Tomcat 7 this is possible by packaging both
> tomcat-jdbc.jar and the driver in WEB-INF/lib.

Strictly, that is not correct. If you remove tomcat-jdbc.jar from the
$CATALINA_HOME/lib the version in the web application should be used.

> Would it be possible to add an exception for “org.apache.tomcat.jdbc”
> to the regex below to restore this capability?
> 
> protected final Matcher packageTriggersPermit = 
> Pattern.compile("^javax\\.servlet\\.jsp\\.jstl\\.").matcher("”);

Seems reasonable.

I've applied a fix to 8.0.x which will be included in 8.0.5 onwards.

Mark

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

Reply via email to