<div dir="ltr"><div>Hello all,</div><div><br></div><div>I get the following stack trace attempting to use 2.0.0.Final against a MongoDB backend. Following the <a href="https://github.com/jboss-dockerfiles/keycloak/tree/master/server-mongo">keycloak-mongo</a> readme should reproduce the behavior.</div><div><br></div><div><br></div><div><br></div><div><div><font face="monospace, monospace">21:58:31,802 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 47) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at java.util.concurrent.FutureTask.run(FutureTask.java:266)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at java.lang.Thread.run(Thread.java:745)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.jboss.threads.JBossThread.run(JBossThread.java:320)</font></div><div><font face="monospace, monospace">Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:162)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>... 6 more</font></div><div><font face="monospace, monospace">Caused by: java.lang.RuntimeException: Property &#39;databaseSchema&#39; needs to be specified in the configuration</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:131)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:60)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:48)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:103)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.authorization.jpa.store.JPAAuthorizationStoreFactory.getEntityManager(JPAAuthorizationStoreFactory.java:54)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.authorization.jpa.store.JPAAuthorizationStoreFactory.create(JPAAuthorizationStoreFactory.java:35)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.authorization.jpa.store.JPAAuthorizationStoreFactory.create(JPAAuthorizationStoreFactory.java:32)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:103)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.models.authorization.infinispan.CachedPolicyStore.getStoreFactory(CachedPolicyStore.java:193)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.models.authorization.infinispan.CachedPolicyStore.getDelegate(CachedPolicyStore.java:201)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.models.authorization.infinispan.CachedPolicyStore.findByType(CachedPolicyStore.java:179)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.authorization.policy.provider.drools.DroolsPolicyProviderFactory$1.onEvent(DroolsPolicyProviderFactory.java:75)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.services.DefaultKeycloakSessionFactory.publish(DefaultKeycloakSessionFactory.java:64)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.keycloak.services.resources.KeycloakApplication.&lt;init&gt;(KeycloakApplication.java:130)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at java.lang.reflect.Constructor.newInstance(Constructor.java:423)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)</font></div><div><font face="monospace, monospace"><span class="" style="white-space:pre">        </span>... 19 more</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">21:58:31,809 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (&quot;add&quot;) failed - address: ([(&quot;deployment&quot; =&gt; &quot;keycloak-server.war&quot;)]) - failure description: {&quot;WFLYCTL0080: Failed services&quot; =&gt; {&quot;jboss.undertow.deployment.default-server.default-host./auth&quot; =&gt; &quot;org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)</font></div><div><font face="monospace, monospace">    Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)</font></div><div><font face="monospace, monospace">    Caused by: java.lang.RuntimeException: Property &#39;databaseSchema&#39; needs to be specified in the configuration&quot;}}</font></div></div><div><br></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Any thoughts?</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Thanks,</font></div><div><font face="arial, helvetica, sans-serif">-John Bartko</font></div><div><br></div></div>