Hi!
I'm trying to make a comparison between different connection pools, the idea is using a simple one line change setting to use different pools.
Already tried with BoneCP, DBCP, C3PO and all work fine, but when trying Hikari I get a:
jul 03, 2014 9:45:33 PM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
ERROR: Timeout of 300000ms encountered waiting for connection.
[...]
org.hibernate.exception.GenericJDBCException: Could not open connection
This are the settings I'm using:
<Resource name="jdbc/OracleHikari" auth="Container"
factory="com.zaxxer.hikari.HikariJNDIFactory" type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver" dataSourceClassName="oracle.jdbc.pool.OracleDataSource"
minimumIdle="5" maximumPoolSize="10" connectionTimeout="300000"
implicitCachingEnabled="true" jdbcUrl="jdbc:oracle:thin:@orcl_server:1521:orcl"
user="user" password="pwd" />
My database is an Oracle, operating in the same network. the server is a Tomcat 7.
Similar settings with the other pools I mentioned actually work, but Hikari is the only one that can't open connection.
Any hints?
Best regards from Chile.
José Ignacio