Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to initialize pool: Feature is not supported" during Hikari initialization #158

Open
konstantin-doncov opened this issue Mar 16, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@konstantin-doncov
Copy link

As far as I understand, it is currently not possible to use the Neptune JDBC driver with HikariCP due to this error during new HikariDataSource(config):

com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Feature is not supported.
Caused by: java.sql.SQLFeatureNotSupportedException: Feature is not supported.
	at software.aws.neptune.jdbc.utilities.SqlError.createSQLFeatureNotSupportedException(SqlError.java:167)
	at software.aws.neptune.jdbc.Connection.setReadOnly(Connection.java:341)
	at com.zaxxer.hikari.pool.PoolBase.setupConnection(PoolBase.java:409)
	at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369)
	at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206)
	at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:476)
	at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
	... 6 more

Could you add support for HikariCP?

@konstantin-doncov konstantin-doncov added the enhancement New feature or request label Mar 16, 2022
@jpines-vi
Copy link

I don't get that error using HikariDataSource with the JDBC connection to AWS Neptune. I do get a lot of problems with " apparent leak detections" and subsequent connection losses, though, causing me enough havoc to stop using HikariCP in my project. I would welcome any traction on this ticket just to know if HikariCP is or isn't supported.

@kenhuuu
Copy link
Collaborator

kenhuuu commented May 5, 2023

Could you add support for HikariCP?

We'll take a look into this exception and get back to you.

I don't get that error using HikariDataSource with the JDBC connection to AWS Neptune. I do get a lot of problems with " apparent leak detections" and subsequent connection losses, though, causing me enough havoc to stop using HikariCP in my project. I would welcome any traction on this ticket just to know if HikariCP is or isn't supported.

Do you mind sharing some more details about the configuration you are using with HikariCP? Is it just the defaults?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants