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

4.x: JDBC Database Example has wrong metric type #8084

Closed
tvallin opened this issue Nov 30, 2023 · 0 comments · Fixed by #8097
Closed

4.x: JDBC Database Example has wrong metric type #8084

tvallin opened this issue Nov 30, 2023 · 0 comments · Fixed by #8097
Assignees
Labels
4.x Version 4.x DB client Helidon DB Client examples
Milestone

Comments

@tvallin
Copy link
Member

tvallin commented Nov 30, 2023

Environment Details

  • Helidon Version: 4.x
  • Helidon SE or Helidon MP
  • JDK version: 21
  • OS:
  • Docker version (if applicable):

Problem Description

The application.yaml contains wrong metric type. The application fails to start and throw an exception

Steps to reproduce

cd helidon/examples/dbclient/jdbc
mvn install
java -jar target/helidon-examples-dbclient-jdbc.jar

Exception:

INFO: oracle - Start completed.
Exception in thread "main" io.helidon.dbclient.DbClientException: Metrics type METER is not supported through service loader
        at io.helidon.dbclient.metrics.DbClientMetricsProvider.fromConfig(DbClientMetricsProvider.java:58)
        at io.helidon.dbclient.metrics.DbClientMetricsProvider.create(DbClientMetricsProvider.java:44)
        at io.helidon.dbclient.DbClient$Builder.build(DbClient.java:192)
        at io.helidon.dbclient.DbClient.create(DbClient.java:87)
        at io.helidon.examples.dbclient.jdbc.JdbcExampleMain.main(JdbcExampleMain.java:52)
@tvallin tvallin added examples DB client Helidon DB Client 4.x Version 4.x labels Nov 30, 2023
@barchetta barchetta added this to the 4.0.2 milestone Nov 30, 2023
@m0mus m0mus added this to Backlog Aug 12, 2024
@m0mus m0mus moved this to Closed in Backlog Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x DB client Helidon DB Client examples
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants