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
When configuring spring to use a jndi-datasource with an application server (liberty in my case), it will try to configure the /health endpoint, and receive the following exception while doing so:
java.sql.SQLException: DSRA9122E: com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource@39ac924b does not wrap any objects of type com.zaxxer.hikari.HikariDataSource. com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource.unwrap 441
This is caused by spring using HikariDataSourcePoolMetadataProvidersConfiguration because hikaricp is on the classpath. When attempting to do unwrap() on the datasource-object however, it will get the one from the application server.