2018-04-17 22:18 GMT+03:00 Shawn Heisey :
> ...
>
> You should be able to work around the problem by defining a factory in
> your pools set to "org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
> so that the default is not used. This addition should only be made on
> configs for Tomcat 7.
>
The
On 4/17/2018 10:25 AM, Adam Rauch wrote:
> According to the tomcat70 GitHub mirror, a recent change to
> Constants.java switched DBCP_DATASOURCE_FACTORY to
> "org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory", which seems
> suspicious. See
> https://github.com/apache/tomcat70/commit/08b7ca0fae77
On 17/04/18 17:25, Adam Rauch wrote:
> Our code retrieves DataSources using JNDI, with code similar to this:
>
> new InitialContext().lookup("java:comp/env/jdbc/labkeyDataSource");
>
> With a simple DataSource definition that doesn't specify a "factory"
> attribute, this code now throws in To
Our code retrieves DataSources using JNDI, with code similar to this:
new InitialContext().lookup("java:comp/env/jdbc/labkeyDataSource");
With a simple DataSource definition that doesn't specify a "factory"
attribute, this code now throws in Tomcat 7.0.86. (It works in 7.0.85,
8.0.50, 8.5.