Re: MariaDB Connector Issues

2015-06-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicholas, On 6/1/15 4:24 PM, Cuneo, Nicholas wrote: > We’ve been running for a while now using embedded Jetty but due to > some upcoming infrastructure changes we’re migrating to Tomcat 7. Migrate to Tomcat 8 instead. It's going to have much longer

RE: MariaDB Connector Issues

2015-06-01 Thread Cuneo, Nicholas
Apparently with Tomcat7/8 and Java 7+ (we are using java8) you must explicitly add the driver in the code: Class.forName("org.mariadb.jdbc.Driver").newInstance(); I feel like this is a bug with Tomcat7/8 since after Java 6 this was no longer required (and indeed worked in Tomcat5 and 6). Anywa