<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Are you using the appliance dist?&nbsp; It
      should work out of the box.<br>
      <br>
      Are you trying to deploy the keycloak auth server in the
      /deployments directory?&nbsp; There is no need to do that any more
      because the auth server is now deployed and controlled from the
      keycloak subsystem.<br>
      <br>
      On 2/17/2015 11:24 AM, Christina Lau wrote:<br>
    </div>
    <blockquote
      cite="mid:FD6DABC0-2615-47CB-8E85-3C64D8689753@icloud.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Do we need this?&nbsp;
      <div class=""><br class="">
      </div>
      <div class="">
        <div class="">&lt;subsystem
          xmlns="urn:jboss:domain:keycloak:1.0"&gt;</div>
        <div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;auth-server
          name="main-auth-server"&gt;</div>
        <div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
          &lt;enabled&gt;true&lt;/enabled&gt;</div>
        <div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
          &lt;web-context&gt;auth&lt;/web-context&gt;</div>
        <div class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/auth-server&gt;</div>
        <div class="">&lt;/subsystem&gt;</div>
      </div>
      <div class=""><br class="">
      </div>
      <div class="">If I have this, I get this error:</div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class="">
        <div style="margin: 0px; font-size: 11px; font-family: Menlo;
          color: rgb(195, 55, 32);" class="">11:17:29,821 ERROR
          [org.jboss.as.controller.management-operation] (Controller
          Boot Thread) JBAS014613: Operation ("deploy") failed -
          address: ([("deployment" =&gt; "auth-server.war")]) - failure
          description: {"JBAS014671: Failed services" =&gt;
          {"jboss.deployment.unit.\"auth-server.war\".POST_MODULE" =&gt;
          "org.jboss.msc.service.StartException in service
          jboss.deployment.unit.\"auth-server.war\".POST_MODULE:
          JBAS018733: Failed to process phase POST_MODULE of deployment
          \"auth-server.war\"</div>
        <div style="margin: 0px; font-size: 11px; font-family: Menlo;
          color: rgb(195, 55, 32);" class="">&nbsp; &nbsp; Caused by:
          org.jboss.msc.service.DuplicateServiceException: Service
          jboss.naming.context.java.module.auth.auth.ValidatorFactory is
          already registered&#8221;}}</div>
      </div>
      <div style="margin: 0px; font-size: 11px; font-family: Menlo;
        color: rgb(195, 55, 32);" class=""><br class="">
      </div>
      <div style="margin: 0px; font-size: 11px; font-family: Menlo;
        color: rgb(195, 55, 32);" class=""><br class="">
      </div>
      <div style="margin: 0px; font-size: 11px; font-family: Menlo;
        color: rgb(195, 55, 32);" class=""><span style="color: rgb(0, 0,
          0); font-family: Helvetica; font-size: 12px;" class="">If I
          don&#8217;t have this, I get this error when deploying the demo app.</span></div>
      <div style="margin: 0px; font-size: 11px; font-family: Menlo;
        color: rgb(195, 55, 32);" class=""><span style="color: rgb(0, 0,
          0); font-family: Helvetica; font-size: 12px;" class=""><br
            class="">
        </span></div>
      <div style="margin: 0px; font-size: 11px; font-family: Menlo;
        color: rgb(195, 55, 32);" class="">
        <div style="margin: 0px;" class="">Caused by:
          java.lang.RuntimeException: UT010039: Unknown authentication
          mechanism KEYCLOAK"}}</div>
      </div>
      <div style="margin: 0px; font-size: 11px; font-family: Menlo;
        color: rgb(195, 55, 32);" class=""><span style="color: rgb(0, 0,
          0); font-family: Helvetica; font-size: 12px;" class=""><br
            class="">
        </span></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>