Re: Tomcat JDBC, WebappClassLoader delegation

2014-03-23 Thread John Vasileff
On Mar 23, 2014, at 3:06 PM, Mark Thomas wrote: > On 23/03/2014 18:40, John Vasileff wrote: >> 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

Re: Tomcat JDBC, WebappClassLoader delegation

2014-03-23 Thread Mark Thomas
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 p

Tomcat JDBC, WebappClassLoader delegation

2014-03-23 Thread John Vasileff
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 i