Please tell me, I can’t run in production mode
CMD: kc.bat start --db postgres --db-url-host 45.10.55.115 --db-username postgres --db-password jUiJdl1dfx --https-certificate-file=C:\site\keycloak\conf\certificate.pem --https-certificate-key-file=C:\site\keycloak\conf\certificatekey.pem --https-port=8443 --hostname-strict false
log or https://pastebin.com/t8yCqEap:
-
2023-04-21 02:05:58,867 INFO [org.keycloak.quarkus.runtime.hostname.DefaultHostnameProvider] (main) Hostname settings: Base URL: , Hostname: , Strict HTTPS: false, Path: , Strict BackChannel: false, Admin URL: , Admin: , Port: -1, Proxied: false
-
2023-04-21 02:06:01,525 WARN [io.quarkus.agroal.runtime.DataSources] (main) Datasource 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
-
2023-04-21 02:06:02,342 WARN [io.agroal.pool] (agroal-11) Datasource ‘’: я┐╜я┐╜я┐╜я┐╜я┐╜: я┐╜я┐╜я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜ “keycloak” я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜
-
2023-04-21 02:06:02,344 WARN [org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator] (JPA Startup Thread: keycloak-default) HHH000342: Could not obtain connection to query metadata: org.postgresql.util.PSQLException: я┐╜я┐╜я┐╜я┐╜я┐╜: я┐╜я┐╜я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜ “keycloak” я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜
-
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2676)
-
at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2788)
-
at org.postgresql.core.v3.QueryExecutorImpl.(QueryExecutorImpl.java:174)
-
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:290)
-
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
-
at org.postgresql.jdbc.PgConnection.(PgConnection.java:247)
-
at org.postgresql.Driver.makeConnection(Driver.java:434)
-
at org.postgresql.Driver.connect(Driver.java:291)
-
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:681)
-
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:229)
-
at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:103)
-
at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:49)
-
at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:35)
-
at io.agroal.pool.ConnectionFactory.createConnection(ConnectionFactory.java:232)
-
at io.agroal.pool.ConnectionPool$CreateConnectionTask.call(ConnectionPool.java:536)
-
at io.agroal.pool.ConnectionPool$CreateConnectionTask.call(ConnectionPool.java:517)
-
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-
at io.agroal.pool.util.PriorityScheduledExecutor.beforeExecute(PriorityScheduledExecutor.java:75)
-
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
-
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
-
at java.base/java.lang.Thread.run(Thread.java:833)
- 2023-04-21 02:06:03,662 INFO [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
-
2023-04-21 02:06:03,791 WARN [io.agroal.pool] (agroal-11) Datasource ‘’: я┐╜я┐╜я┐╜я┐╜я┐╜: я┐╜я┐╜я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜ “keycloak” я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜
-
2023-04-21 02:06:03,821 WARN [org.infinispan.CONFIG] (keycloak-cache-init) ISPN000569: Unable to persist Infinispan internal caches as no global state enabled
-
2023-04-21 02:06:03,853 WARN [org.infinispan.PERSISTENCE] (keycloak-cache-init) ISPN000554: jboss-marshalling is deprecated and planned for removal
-
2023-04-21 02:06:03,915 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000556: Starting user marshaller ‘org.infinispan.jboss.marshalling.core.JBossUserMarshaller’
-
2023-04-21 02:06:04,711 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000088: Unable to use any JGroups configuration mechanisms provided in properties {}. Using default JGroups configuration!
-
2023-04-21 02:06:07,002 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000078: Starting JGroups channel
ISPN
-
2023-04-21 02:06:07,028 INFO [org.jgroups.JChannel] (keycloak-cache-init) local_addr: 598c65eb-56c7-4d63-bf5d-2eb4dde8f3d6, name: WIN-PQGF13F2FVV-30981
-
2023-04-21 02:06:07,181 INFO [org.jgroups.protocols.FD_SOCK2] (keycloak-cache-init) server listening on *.41300
-
2023-04-21 02:06:09,192 INFO [org.jgroups.protocols.pbcast.GMS] (keycloak-cache-init) WIN-PQGF13F2FVV-30981: no members discovered after 2006 ms: creating cluster as coordinator
-
2023-04-21 02:06:09,216 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000094: Received new cluster view for channel ISPN: [WIN-PQGF13F2FVV-30981|0] (1) [WIN-PQGF13F2FVV-30981]
-
2023-04-21 02:06:09,232 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000079: Channel
ISPN
local address isWIN-PQGF13F2FVV-30981
, physical addresses are[45.10.55.115:56836]
-
2023-04-21 02:06:10,188 INFO [org.infinispan.CLUSTER] (main) ISPN000080: Disconnecting JGroups channel
ISPN
-
2023-04-21 02:06:10,277 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode
-
2023-04-21 02:06:10,278 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to obtain JDBC connection
-
2023-04-21 02:06:10,281 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: я┐╜я┐╜я┐╜я┐╜я┐╜: я┐╜я┐╜я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜ “keycloak” я┐╜я┐╜ я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜я┐╜
-
2023-04-21 02:06:10,282 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.