You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our project has been using kamon and iam-jdbc for postgresql without problems for a long time, but as iam-jdbc uses AWS-SDK v.1, we would like to migrate to the AWS advanced JDBC wrapper. Initializing the HikariPool fails with the following exception:
java.lang.ClassCastException: class software.amazon.jdbc.wrapper.ConnectionWrapper cannot be cast to class kamon.instrumentation.jdbc.HasConnectionPoolTelemetry (software.amazon.jdbc.wrapper.ConnectionWrapper and kamon.instrumentation.jdbc.HasConnectionPoolTelemetry are in unnamed module of loader 'app')
at kamon.instrumentation.jdbc.PoolBaseNewConnectionAdvice$.enter(HikariInstrumentation.scala:221)
at com.zaxxer.hikari.pool.PoolBase.setupConnection(PoolBase.java:406)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:374)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541)
at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:115)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112)
The only enabled AWS wrapper plugin is "iam".
Versions:
Our project has been using
kamon
andiam-jdbc
forpostgresql
without problems for a long time, but asiam-jdbc
uses AWS-SDK v.1, we would like to migrate to the AWS advanced JDBC wrapper. Initializing theHikariPool
fails with the following exception:The only enabled AWS wrapper plugin is "iam".
Versions:
The text was updated successfully, but these errors were encountered: