Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Warnings in log during normal startup #27308

@stianst

Description

@stianst

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

dist/quarkus

Describe the bug

When starting Keycloak there are warnings in the log:

bin/kc.sh start-dev --log-level warn
Updating the configuration and installing your custom providers, if any. Please wait.
2024-02-27 11:47:21,678 WARN  [io.quarkus.agroal.runtime.DataSources] (main) Datasource <default> enables XA but transaction recovery is not enabled. Please enable transaction recovery by setting quarkus.transaction-manager.enable-recovery=true, otherwise data may be lost if the application is terminated abruptly
2024-02-27 11:47:21,958 WARN  [org.infinispan.PERSISTENCE] (keycloak-cache-init) ISPN000554: jboss-marshalling is deprecated and planned for removal
2024-02-27 11:47:21,993 WARN  [org.infinispan.CONFIG] (keycloak-cache-init) ISPN000569: Unable to persist Infinispan internal caches as no global state enabled
2024-02-27 11:47:23,119 WARN  [org.keycloak.quarkus.runtime.KeycloakMain] (main) Running the server in development mode. DO NOT use this configuration in production.

The last entry is fine, but the others should not be present when I'm starting Keycloak with default configuration.

Version

23.0.6

Regression

  • The issue is a regression

Expected behavior

No unexpected warnings in logs with default configuration

Actual behavior

Outputs several warnings that users won't know what to do with

How to Reproduce?

bin/kc.sh start-dev --log-level warn

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions