<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">It seems the docs is not up-to-date.
      Created JIRA <a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/KEYCLOAK-3357">https://issues.jboss.org/browse/KEYCLOAK-3357</a> and
      will be fixed in next version. You also need to replace:<br>
      <br>
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <pre style="background-color:#ffffff;color:#000000;font-family:'DejaVu Sans Mono';font-size:9.0pt;">"userSessionPersister": {
    "provider": "jpa"
},

"authorizationPersister": {
    "provider": "jpa"
},


providers with "mongo"

Marek
</pre>
      <br>
      On 22/07/16 10:56, Stephen Merchant wrote:<br>
    </div>
    <blockquote
      cite="mid:3DE4BF1BF8EDD84B8F8D61B0A88BD563101C5D@EXCH01.gandlake.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:black;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:500857244;
        mso-list-type:hybrid;
        mso-list-template-ids:-1987143832 134807569 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Hello,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">I
            am assessing standalone Keycloak version
            <b>2.0.0</b> configured for MongoDB Version <b>3.2.8</b>
            persistence.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">I
            have made configuration changes to
            <i>…\standalone\configuration\keycloak-server.json</i> as
            advised <a moz-do-not-send="true"
href="https://keycloak.gitbooks.io/server-installation-and-configuration/content/v/2.0/topics/mongo.html">here</a>.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">On
            start-up :<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><span
              style="mso-list:Ignore">1)<span style="font:7.0pt
                &quot;Times New Roman&quot;">    
              </span></span></span><!--[endif]--><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">I
            can see the
            <b>keycloak</b> database get created in my MongoDB instance.<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="mso-fareast-language:EN-GB"><img id="Picture_x0020_1"
              src="cid:part2.02090205.03060401@redhat.com" border="0"
              height="309" width="243"></span><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p></o:p></span></p>
        <p class="MsoListParagraph"
          style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><span
              style="mso-list:Ignore">2)<span style="font:7.0pt
                &quot;Times New Roman&quot;">    
              </span></span></span><!--[endif]--><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">On
            standalone Keycloak startup I get the exception detailed in
            the WildFly log snippet below.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">I
            would appreciate any advice or assistance you have to offer
            with this issue.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black">Thank
            you.<o:p></o:p></span></p>
        <div
          style="mso-element:para-border-div;border:none;border-bottom:solid
          windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
          <p class="MsoNormal" style="border:none;padding:0cm"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        </div>
        <p class="MsoListParagraph"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">09:41:00,981 INFO 
            [org.mongodb.driver.connection] (ServerService Thread Pool
            -- 47)
          </span><b><span
              style="font-size:16.0pt;font-family:&quot;Courier
              New&quot;;color:red">Opened connection</span></b><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:red">
          </span><span style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">[connectionId{localValue:2,
            serverValue:14}] to localhost:27017<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">09:41:01,625 WARN 
            [org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory]
            (ServerService Thread Pool -- 47) Can't rollback connection:
            java.sql.SQLException: IJ031022: You cannot rollback with
            autocommit set<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.jdbcRollback(BaseWrapperManagedConnection.java:1124)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.jca.adapters.jdbc.WrappedConnection.rollback(WrappedConnection.java:863)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:196)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:60)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:48)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:103)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.jpa.session.JpaUserSessionPersisterProviderFactory.create(JpaUserSessionPersisterProviderFactory.java:38)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.jpa.session.JpaUserSessionPersisterProviderFactory.create(JpaUserSessionPersisterProviderFactory.java:32)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:103)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.OfflineUserSessionLoader.init(OfflineUserSessionLoader.java:38)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.InfinispanUserSessionInitializer$1.run(InfinispanUserSessionInitializer.java:110)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.utils.KeycloakModelUtils.runJobInTransaction(KeycloakModelUtils.java:287)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.InfinispanUserSessionInitializer.getOrCreateInitializerState(InfinispanUserSessionInitializer.java:107)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.InfinispanUserSessionInitializer.startLoading(InfinispanUserSessionInitializer.java:158)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.InfinispanUserSessionInitializer.loadPersistentSessions(InfinispanUserSessionInitializer.java:88)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.InfinispanUserSessionProviderFactory$2.run(InfinispanUserSessionProviderFactory.java:91)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.utils.KeycloakModelUtils.runJobInTransaction(KeycloakModelUtils.java:287)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.InfinispanUserSessionProviderFactory.loadPersistentSessions(InfinispanUserSessionProviderFactory.java:82)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.InfinispanUserSessionProviderFactory$1.onEvent(InfinispanUserSessionProviderFactory.java:71)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.services.DefaultKeycloakSessionFactory.publish(DefaultKeycloakSessionFactory.java:64)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.services.resources.KeycloakApplication.&lt;init&gt;(KeycloakApplication.java:130)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
            Method)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            java.lang.reflect.Constructor.newInstance(Constructor.java:422)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            java.util.concurrent.FutureTask.run(FutureTask.java:266)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            java.lang.Thread.run(Thread.java:745)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            org.jboss.threads.JBossThread.run(JBossThread.java:320)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black"><o:p> </o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">09:41:01,670 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)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            java.util.concurrent.FutureTask.run(FutureTask.java:266)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            java.lang.Thread.run(Thread.java:745)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            org.jboss.threads.JBossThread.run(JBossThread.java:320)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">Caused by:
            java.lang.RuntimeException: RESTEASY003325: Failed to
            construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:162)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2209)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:299)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:240)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:113)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:231)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:132)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:526)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        ... 6 more<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">Caused by:
            java.lang.IllegalStateException: Trying to update database,
            but don't have a DB lock acquired<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:165)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:60)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:48)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:103)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.jpa.session.JpaUserSessionPersisterProviderFactory.create(JpaUserSessionPersisterProviderFactory.java:38)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.jpa.session.JpaUserSessionPersisterProviderFactory.create(JpaUserSessionPersisterProviderFactory.java:32)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:103)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.OfflineUserSessionLoader.init(OfflineUserSessionLoader.java:38)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.InfinispanUserSessionInitializer$1.run(InfinispanUserSessionInitializer.java:110)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.utils.KeycloakModelUtils.runJobInTransaction(KeycloakModelUtils.java:287)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.InfinispanUserSessionInitializer.getOrCreateInitializerState(InfinispanUserSessionInitializer.java:107)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.InfinispanUserSessionInitializer.startLoading(InfinispanUserSessionInitializer.java:158)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.initializer.InfinispanUserSessionInitializer.loadPersistentSessions(InfinispanUserSessionInitializer.java:88)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.InfinispanUserSessionProviderFactory$2.run(InfinispanUserSessionProviderFactory.java:91)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.utils.KeycloakModelUtils.runJobInTransaction(KeycloakModelUtils.java:287)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.InfinispanUserSessionProviderFactory.loadPersistentSessions(InfinispanUserSessionProviderFactory.java:82)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.models.sessions.infinispan.InfinispanUserSessionProviderFactory$1.onEvent(InfinispanUserSessionProviderFactory.java:71)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.services.DefaultKeycloakSessionFactory.publish(DefaultKeycloakSessionFactory.java:64)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.keycloak.services.resources.KeycloakApplication.&lt;init&gt;(KeycloakApplication.java:130)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
            Method)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
            java.lang.reflect.Constructor.newInstance(Constructor.java:422)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:150)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">        ... 19 more<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black"><o:p> </o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">09:41:01,730 ERROR
            [org.jboss.as.controller.management-operation] (Controller
            Boot Thread) WFLYCTL0013: Operation ("add") failed -
            address: ([("deployment" =&gt; "keycloak-server.war")]) -
            failure description: {"WFLYCTL0080: Failed services" =&gt;
            {"jboss.undertow.deployment.default-server.default-host./auth"
            =&gt; "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)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">    Caused by:
            java.lang.RuntimeException: RESTEASY003325: Failed to
            construct public
org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">    Caused by:
            java.lang.IllegalStateException: Trying to update database,
            but don't have a DB lock acquired"}}<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">09:41:01,775 INFO 
            [org.jboss.as.server] (ServerService Thread Pool -- 44)
            WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name :
            "keycloak-server.war")<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">09:41:01,779 INFO 
            [org.jboss.as.controller] (Controller Boot Thread)
            WFLYCTL0183: Service status report<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">WFLYCTL0186:   Services which 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)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black"><o:p> </o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">09:41:01,997 INFO  [org.jboss.as]
            (Controller Boot Thread) WFLYSRV0060: Http management
            interface listening on <a class="moz-txt-link-freetext" href="http://127.0.0.1:9990/management">http://127.0.0.1:9990/management</a><o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">09:41:02,012 INFO  [org.jboss.as]
            (Controller Boot Thread) WFLYSRV0051: Admin console
            listening on <a class="moz-txt-link-freetext" href="http://127.0.0.1:9990">http://127.0.0.1:9990</a><o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;;color:black">09:41:02,013 ERROR [org.jboss.as]
            (Controller Boot Thread) WFLYSRV0026: Keycloak 2.0.0.Final
            (WildFly Core 2.0.10.Final) started (with errors) in 7942ms
            - Started 414 of 799 services (2 services failed or missing
            dependencies, 542 services are lazy, passive or on-demand)<o:p></o:p></span></p>
        <p class="MsoListParagraph"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black;mso-fareast-language:EN-GB">Stephen
            Merchant<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black;mso-fareast-language:EN-GB">Developer<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:9.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black;mso-fareast-language:EN-GB">Gandlake
            Limited<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <div style="font-size:10pt; font-family: Arial, sans-serif;">Crown
        Commercial Service Supplier<br>
        BSI ISO/IEC 27001 certification number IS 585161 </div>
      <br>
      <br>
      <div style="font-size:9pt; font-family: Arial, sans-serif;
        color:gray;">Gandlake Limited, a Limited Liability Company
        registered in England and Wales under number 4667925. Registered
        Office: Gandlake House, London Road, Newbury, Berkshire. RG14
        1LA. VAT Registration Number 809 7164 11</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>