The RHBK 24 image is throwing "Class does not exist" warnings when building it

Solution In Progress - Updated -

Issue

Using the Image /rhbk/keycloak-rhel9:24, the following WARNING messages are being returned during the build process:

[1/2] STEP 7/7: RUN /opt/keycloak/bin/kc.sh build

Updating the configuration and installing your custom providers, if any. Please wait.

2024-06-24 19:33:27,881 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index jakarta.jms.Connection: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,895 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index io.mashona.logwriting.ArrayStore: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,903 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index org.apache.activemq.artemis.core.journal.RecordInfo: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,904 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index org.apache.activemq.artemis.core.journal.Journal: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,911 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index jakarta.jms.XAConnection: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,912 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index jakarta.jms.XASession: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,913 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index jakarta.jms.XAConnectionFactory: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,971 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index org.apache.tools.ant.Task: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,983 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index org.springframework.core.io.Resource: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,987 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index org.springframework.core.io.DefaultResourceLoader: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:27,988 WARN  [io.qua.dep.ind.IndexWrapper] (build-39) Failed to index org.springframework.core.io.ResourceLoader: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: PROD for keycloak@2b5cb9b2

2024-06-24 19:33:32,976 INFO  [io.qua.dep.QuarkusAugmentor] (main) Quarkus augmentation completed in 11480ms

Server configuration updated and persisted. Run the following command to review the configuration:



 kc.sh show-config

Environment

  • Red Hat build of Keycloak (RHBK)
    • 24.X
  • Red Hat OpenShift Container Platform (OCP)
    • 4.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content