When starting the Red Hat build of Keycloak (RHBK) Operator, a JDBC "URL format error" is returned
Issue
When starting the RHBK 22 Operator, the following error is returned:
2024-02-28 09:13:20,570 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode
2024-02-28 09:13:20,571 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to obtain JDBC connection
2024-02-28 09:13:20,571 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: URL format error; must be "jdbc:h2:{ {.|mem:}[name] | [file:]fileName | {tcp|ssl}:[//]server[:port][,server2[:port]]/name }[;key=value...]" but is "<JDBC URL>:<PORT>/<DATABASE>" [90046-224]
2024-02-28 09:13:20,571 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command.
Environment
- Red Hat build of Keycloak (RHBK)
- 22.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.