Unable to work in production

Hi All,

Need help on the below;

getting page not found error

F:>softwares\keycloak-20.0.3\bin\kc.bat start-dev

2023-03-07 10:16:52,600 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-03-07 10:16:53,851 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-03-07 10:16:55,054 WARN [org.infinispan.PERSISTENCE] (keycloak-cache-init) ISPN000554: jboss-marshalling is deprecated and planned for removal
2023-03-07 10:16:55,086 WARN [org.infinispan.CONFIG] (keycloak-cache-init) ISPN000569: Unable to persist Infinispan internal caches as no global state enabled
2023-03-07 10:16:55,102 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000556: Starting user marshaller ‘org.infinispan.jboss.marshalling.core.JBossUserMarshaller’
2023-03-07 10:16:55,439 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000128: Infinispan version: Infinispan ‘Triskaidekaphobia’ 13.0.10.Final
2023-03-07 10:16:58,881 INFO [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
2023-03-07 10:16:59,071 INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: node_330926, Site name: null
2023-03-07 10:16:59,810 INFO [io.quarkus] (main) Keycloak 20.0.3 on JVM (powered by Quarkus 2.13.6.Final) started in 8.910s. Listening on: http://0.0.0.0:8080
2023-03-07 10:16:59,810 INFO [io.quarkus] (main) Profile dev activated.
2023-03-07 10:16:59,810 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, jdbc-mariadb, jdbc-mssql, jdbc-mysql, jdbc-oracle, jdbc-postgresql, keycloak, logging-gelf, narayana-jta, reactive-routes, resteasy, resteasy-jackson, smallrye-context-propagation, smallrye-health, smallrye-metrics, vault, vertx]
2023-03-07 10:16:59,810 WARN [org.keycloak.quarkus.runtime.KeycloakMain] (main) Running the server in development mode. DO NOT use this configuration in production.

hey @VigneshSekar

Sum up the Warnings

Please enable transaction recovery by setting quarkus.transaction-manager.enable-recovery=true
(keycloak-cache-init) ISPN000569: Unable to persist Infinispan internal caches as no global state enabled

Especially this one.

Running the server in development mode. DO NOT use this configuration in production.

May want to look here

Thanks smith. but getting below after trying;

Remove the /auth path.

1 Like

It is working. Many thanks…