Project: springxd
Issue XD-3620: JDBC connection pool errors
We are seeing JDBC connection pool errors when running 'jdbchdfs' jobs and 'jdbc' streams. The exception is: {code} Caused by: java.sql.SQLException: Failed to validate a newly established connection. at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:802) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:617) at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:186) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127) at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:204) ... 21 more {code} A workaround is to specify "--testOnBorrow=false" when creating the job. This has also been reported on SO (http://stackoverflow.com/questions/33148929/springxd-issue-in-mysql-as-source-failed-to-validate-a-newly-established-connec).
Story points: 5