<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? It
should work out of the box.<br>
<br>
Are you trying to deploy the keycloak auth server in the
/deployments directory? 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?
<div class=""><br class="">
</div>
<div class="">
<div class=""><subsystem
xmlns="urn:jboss:domain:keycloak:1.0"></div>
<div class=""> <auth-server
name="main-auth-server"></div>
<div class="">
<enabled>true</enabled></div>
<div class="">
<web-context>auth</web-context></div>
<div class=""> </auth-server></div>
<div class=""></subsystem></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" => "auth-server.war")]) - failure
description: {"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"auth-server.war\".POST_MODULE" =>
"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=""> Caused by:
org.jboss.msc.service.DuplicateServiceException: Service
jboss.naming.context.java.module.auth.auth.ValidatorFactory is
already registered”}}</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’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>