<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">i've looked at this one and have it
      fixed in branch <a class="moz-txt-link-freetext" href="https://github.com/mposolda/keycloak/">https://github.com/mposolda/keycloak/</a> . Feel free
      to give it try if you are impatient, but still it seems that there
      are some more issues with mongo model (few integration tests are
      still failing). I will send PR to master tomorrow morning with
      mongo model fully working.<br>
      <br>
      Marek<br>
      <br>
      On 20.5.2014 22:18, Davide Ungari wrote:<br>
    </div>
    <blockquote
cite="mid:CA+TL3n1GjHd--=jgN=26YYXWry307vi_3QOzfrtHVqpW-38cgQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Following your instruction he application startup
        is fine.
        <div>Now after login I have another exception that involves
          Mongo :
          <div><br>
          </div>
          <div>
            <div>22:15:21,616 ERROR [io.undertow.request] (default
              task-3) UT005023: Exception handling request to
              /auth/realms/keycloak-admin/tokens/access/codes:
              org.jboss.resteasy.spi.UnhandledException:
              java.lang.IllegalArgumentException: Can't found converter
              for type class
              org.keycloak.models.mongo.keycloak.entities.MongoClientUserSessionAssociationEntity
              in registered appObjectMappers</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:149)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:372)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
              [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.keycloak.services.filters.ClientConnectionFilter.doFilter(ClientConnectionFilter.java:41)
              [keycloak-services-1.0-beta-1-SNAPSHOT.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.keycloak.services.filters.KeycloakSessionServletFilter.doFilter(KeycloakSessionServletFilter.java:41)
              [keycloak-services-1.0-beta-1-SNAPSHOT.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
              [undertow-core-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)
              [undertow-core-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
              [undertow-core-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
              [undertow-core-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
              [undertow-core-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
              [undertow-core-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
              [undertow-core-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)
              [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.server.Connectors.executeRootHandler(Connectors.java:168)
              [undertow-core-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:687)
              [undertow-core-1.0.0.Final.jar:1.0.0.Final]</div>
            <div><span class="" style="white-space:pre"> </span>at
              java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              [rt.jar:1.7.0_51]</div>
            <div><span class="" style="white-space:pre"> </span>at
              java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              [rt.jar:1.7.0_51]</div>
            <div><span class="" style="white-space:pre"> </span>at
              java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]</div>
            <div>Caused by: java.lang.IllegalArgumentException: Can't
              found converter for type class
              org.keycloak.models.mongo.keycloak.entities.MongoClientUserSessionAssociationEntity
              in registered appObjectMappers</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.keycloak.models.mongo.api.types.MapperRegistry.convertApplicationObjectToDBObject(MapperRegistry.java:80)
              [keycloak-model-mongo-1.0-beta-1-SNAPSHOT.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.keycloak.models.mongo.impl.MongoStoreImpl.insertEntity(MongoStoreImpl.java:171)
              [keycloak-model-mongo-1.0-beta-1-SNAPSHOT.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.keycloak.models.mongo.keycloak.adapters.UserSessionAdapter.associateClient(UserSessionAdapter.java:102)
              [keycloak-model-mongo-1.0-beta-1-SNAPSHOT.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.keycloak.services.resources.TokenService.accessCodeToToken(TokenService.java:656)
              [keycloak-services-1.0-beta-1-SNAPSHOT.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              sun.reflect.NativeMethodAccessorImpl.invoke0(Native
              Method) [rt.jar:1.7.0_51]</div>
            <div><span class="" style="white-space:pre"> </span>at
              sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              [rt.jar:1.7.0_51]</div>
            <div><span class="" style="white-space:pre"> </span>at
              sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              [rt.jar:1.7.0_51]</div>
            <div><span class="" style="white-space:pre"> </span>at
              java.lang.reflect.Method.invoke(Method.java:606)
              [rt.jar:1.7.0_51]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:137)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:280)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:234)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:140)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:103)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>at
              org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
              [resteasy-jaxrs-3.0.6.Final.jar:]</div>
            <div><span class="" style="white-space:pre"> </span>... 37
              more</div>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div>--</div>
          Davide</div>
        <br>
        <br>
        <div class="gmail_quote">On Tue, May 20, 2014 at 11:52 AM, Stian
          Thorgersen <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:stian@redhat.com" target="_blank">stian@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            You need to edit:<br>
            <br>
standalone/deployments/auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json<br>
            <br>
            For mongo replace "model" and "audit" with:<br>
            <br>
                "audit": {<br>
                    "provider": "mongo",<br>
                    "mongo": {<br>
                        "host": "&lt;hostname&gt;",<br>
                        "port": &lt;port&gt;,<br>
                        "user": &lt;user&gt;,<br>
                        "password": &lt;password&gt;<br>
                    }<br>
                },<br>
            <br>
                "model": {<br>
                    "provider": "mongo"<br>
                    "mongo": {<br>
                        "host": "&lt;hostname&gt;",<br>
                        "port": &lt;port&gt;,<br>
                        "user": &lt;user&gt;,<br>
                        "password": &lt;password&gt;<br>
                    }<br>
                }<br>
            <br>
            "host" and "port" are optional if not specified "localhost"
            and 27017 will be used. "user" and "password" are optional
            as well, these are only required if you've enabled
            authentication for your mongo db. You can also change the db
            name by adding "db".<br>
            <div class="im HOEnZb"><br>
              ----- Original Message -----<br>
              &gt; From: "Davide Ungari" &lt;<a moz-do-not-send="true"
                href="mailto:ungarida@gmail.com">ungarida@gmail.com</a>&gt;<br>
            </div>
            <div class="HOEnZb">
              <div class="h5">&gt; To: "Stian Thorgersen" &lt;<a
                  moz-do-not-send="true" href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;<br>
                &gt; Cc: "Marek Posolda" &lt;<a moz-do-not-send="true"
                  href="mailto:mposolda@redhat.com">mposolda@redhat.com</a>&gt;,
                <a moz-do-not-send="true"
                  href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
                &gt; Sent: Tuesday, 20 May, 2014 10:38:41 AM<br>
                &gt; Subject: Re: [keycloak-user] MongoDB - Model
                provider not found<br>
                &gt;<br>
                &gt; Hi Stian,<br>
                &gt; I'm aligned to master.<br>
                &gt; Could you show me the class I must read to
                understand how to configure it?<br>
                &gt;<br>
                &gt; --<br>
                &gt; Davide<br>
                &gt;<br>
                &gt;<br>
                &gt; On Tue, May 20, 2014 at 10:45 AM, Stian Thorgersen
                &lt;<a moz-do-not-send="true"
                  href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;
                wrote:<br>
                &gt;<br>
                &gt; &gt; In master this has recently changed and is now
                configured in a config file<br>
                &gt; &gt; instead of through system properties. The
                documentation will be updated in<br>
                &gt; &gt; due time.<br>
                &gt; &gt;<br>
                &gt; &gt; ----- Original Message -----<br>
                &gt; &gt; &gt; From: "Davide Ungari" &lt;<a
                  moz-do-not-send="true"
                  href="mailto:ungarida@gmail.com">ungarida@gmail.com</a>&gt;<br>
                &gt; &gt; &gt; To: "Marek Posolda" &lt;<a
                  moz-do-not-send="true"
                  href="mailto:mposolda@redhat.com">mposolda@redhat.com</a>&gt;<br>
                &gt; &gt; &gt; Cc: "Stian Thorgersen" &lt;<a
                  moz-do-not-send="true" href="mailto:stian@redhat.com">stian@redhat.com</a>&gt;,
                <a moz-do-not-send="true"
                  href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
                &gt; &gt; &gt; Sent: Tuesday, 20 May, 2014 8:17:52 AM<br>
                &gt; &gt; &gt; Subject: Re: [keycloak-user] MongoDB -
                Model provider not found<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; Hi Marek,<br>
                &gt; &gt; &gt; thanks for your answer.<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; You could add a paragraph in
                documentation page<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; <a moz-do-not-send="true"
href="http://docs.jboss.org/keycloak/docs/1.0-alpha-3/userguide/html_single/index.html#d4e167"
                  target="_blank">http://docs.jboss.org/keycloak/docs/1.0-alpha-3/userguide/html_single/index.html#d4e167</a><br>
                &gt; &gt; &gt; about<br>
                &gt; &gt; &gt; this.<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; --<br>
                &gt; &gt; &gt; Davide<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; On Mon, May 19, 2014 at 10:38 PM, Marek
                Posolda &lt;<a moz-do-not-send="true"
                  href="mailto:mposolda@redhat.com">mposolda@redhat.com</a>&gt;<br>
                &gt; &gt; wrote:<br>
                &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;  Hi,<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; I guess you removed persistence.xml
                from auth-server.war right? In<br>
                &gt; &gt; newest<br>
                &gt; &gt; &gt; &gt; version, persistence.xml contains
                configuration of model-api, but also<br>
                &gt; &gt; for<br>
                &gt; &gt; &gt; &gt; audit-api . Default implementation
                of audit-api is based on JPA and<br>
                &gt; &gt; needs<br>
                &gt; &gt; &gt; &gt; persistence.xml .<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; Thing is that default implementation
                of audit-api is always based on<br>
                &gt; &gt; JPA<br>
                &gt; &gt; &gt; &gt; even if you changed your model
                implementation to "mongo". My opinion<br>
                &gt; &gt; is,<br>
                &gt; &gt; &gt; &gt; that we should change this
                behaviour. So default implementation of<br>
                &gt; &gt; &gt; &gt; audit-api will be same like the
                chosen implementation of model-api. So<br>
                &gt; &gt; if<br>
                &gt; &gt; &gt; &gt; someone (like you) changed the
                implementation of model to be based on<br>
                &gt; &gt; &gt; &gt; mongo, the audit-api will
                automatically use mongo as well. I will<br>
                &gt; &gt; discuss<br>
                &gt; &gt; &gt; &gt; with guys about this tomorrow.<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; Until this is done, I think that
                easiest solution for you is to<br>
                &gt; &gt; manually<br>
                &gt; &gt; &gt; &gt; switch audit-api to use mongo as
                well. So in addition to property<br>
                &gt; &gt; &gt; &gt; "-Dkeycloak.model=mongo" you also
                need to add property<br>
                &gt; &gt; &gt; &gt; "-Dkeycloak.audit=mongo" .<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; Marek<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; On 16.5.2014 22:20, Davide Ungari
                wrote:<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; Hi Stian,<br>
                &gt; &gt; &gt; &gt; I think the problem was that I was
                running "mvn package" inside<br>
                &gt; &gt; &gt; &gt; /keycloak/distribuition instead it
                works if your run it from root<br>
                &gt; &gt; &gt; &gt; directory.<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;  I have all the jars, model-mongo
                included, but the application fails<br>
                &gt; &gt; at<br>
                &gt; &gt; &gt; &gt; startup with error message "No
                Persistence provider for EntityManager<br>
                &gt; &gt; named<br>
                &gt; &gt; &gt; &gt; jpa-keycloak-audit-store\". What am
                I doing wrong this time?<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;  If you need I'm free to test the
                import process as you do it.<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;  Thanks.<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;  --<br>
                &gt; &gt; &gt; &gt; Davide<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt; On Thu, May 15, 2014 at 10:31 AM,
                Stian Thorgersen &lt;<a moz-do-not-send="true"
                  href="mailto:stian@redhat.com">stian@redhat.com</a><br>
                &gt; &gt; &gt;wrote:<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;&gt; I'm not sure why the mongo model
                has been removed from the WAR, I'll<br>
                &gt; &gt; look<br>
                &gt; &gt; &gt; &gt;&gt; into that.<br>
                &gt; &gt; &gt; &gt;&gt; "jpa-keycloak-identity-store"<br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt; We don't yet have support for
                upgrading the database when upgrading<br>
                &gt; &gt; &gt; &gt;&gt; Keycloak. This will be added
                soon. The plan is to provide a mechanism<br>
                &gt; &gt; to<br>
                &gt; &gt; &gt; &gt;&gt; export the database to a json
                file, and after installing a new<br>
                &gt; &gt; version of<br>
                &gt; &gt; &gt; &gt;&gt; Keycloak you import this json
                file again. We'll make this import<br>
                &gt; &gt; backwards<br>
                &gt; &gt; &gt; &gt;&gt; compatible so you can import a
                json file from any older versions of<br>
                &gt; &gt; &gt; &gt;&gt; Keycloak.<br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;&gt; ----- Original Message -----<br>
                &gt; &gt; &gt; &gt;&gt; &gt; From: "Davide Ungari" &lt;<a
                  moz-do-not-send="true"
                  href="mailto:ungarida@gmail.com">ungarida@gmail.com</a>&gt;<br>
                &gt; &gt; &gt; &gt;&gt; &gt; To: <a
                  moz-do-not-send="true"
                  href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
                &gt; &gt; &gt; &gt;&gt; &gt; Sent: Monday, 12 May, 2014
                7:13:53 PM<br>
                &gt; &gt; &gt; &gt;&gt; &gt; Subject: Re:
                [keycloak-user] MongoDB - Model provider not found<br>
                &gt; &gt; &gt; &gt;&gt; &gt;<br>
                &gt; &gt; &gt; &gt;&gt; &gt; I found out that:<br>
                &gt; &gt; &gt; &gt;&gt; &gt; 1- the command "mvn
                package" does not include mongo module and<br>
                &gt; &gt; driver<br>
                &gt; &gt; &gt; &gt;&gt; &gt; 2- there is a regression on
                data model, updating source of keycloak<br>
                &gt; &gt; I<br>
                &gt; &gt; &gt; &gt;&gt; must<br>
                &gt; &gt; &gt; &gt;&gt; &gt; drop database in order to
                see the admin console works again<br>
                &gt; &gt; &gt; &gt;&gt; &gt; --<br>
                &gt; &gt; &gt; &gt;&gt; &gt; Davide<br>
                &gt; &gt; &gt; &gt;&gt; &gt;<br>
                &gt; &gt; &gt; &gt;&gt;  &gt;
                _______________________________________________<br>
                &gt; &gt; &gt; &gt;&gt; &gt; keycloak-user mailing list<br>
                &gt; &gt; &gt; &gt;&gt; &gt; <a moz-do-not-send="true"
                  href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
                &gt; &gt; &gt; &gt;&gt; &gt; <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
                &gt; &gt; &gt; &gt;&gt;<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;
                _______________________________________________<br>
                &gt; &gt; &gt; &gt; keycloak-user mailing<br>
                &gt; &gt; &gt; &gt;
                <a class="moz-txt-link-abbreviated" href="mailto:listkeycloak-user@lists.jboss.orghttps://">listkeycloak-user@lists.jboss.orghttps://</a><br>
                &gt; &gt; <a moz-do-not-send="true"
                  href="http://lists.jboss.org/mailman/listinfo/keycloak-user"
                  target="_blank">lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt; &gt;<br>
                &gt; &gt; &gt;<br>
                &gt; &gt;<br>
                &gt;<br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>