<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">I don't think you downloaded the demo
server. The demo would have everything already set up.<br>
<br>
On 7/24/2016 1:23 AM, Martin Min wrote:<br>
</div>
<blockquote
cite="mid:CAKUZDO6H=b93uePypZLGuM=LB1CtFVkK7YCd6ue0DkkAHb8=SQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I am following the tutorial here:</div>
<div><a moz-do-not-send="true"
href="https://keycloak.gitbooks.io/getting-started-tutorials/content/v/2.0/topics/secure-jboss-app/subsystem.html">https://keycloak.gitbooks.io/getting-started-tutorials/content/v/2.0/topics/secure-jboss-app/subsystem.html</a><br>
</div>
<div><br>
</div>
<div>to configure the demo KeyCloak server 2.0 and Wildfly 10
Final. </div>
<div><br>
</div>
<div>The tutorial says to search for this section:</div>
<div><br>
</div>
<div>
<pre class="" style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:16px;white-space:pre-wrap;direction:ltr;border:none;color:rgb(51,51,51);overflow:auto;word-wrap:normal;margin-top:0px;margin-bottom:1.275em;padding:0.85em 1em;letter-spacing:0.2px;line-height:27.2px;background:rgb(247,247,247)"><code class="" style="font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:0.85em;direction:ltr;border:none;color:inherit;padding:0px;margin:0px;display:inline;max-width:initial;overflow:initial;line-height:inherit;white-space:pre;background:0px 0px"><span class="" style="font-size:inherit;color:rgb(200,40,41)"><<span class="" style="font-size:inherit;color:rgb(142,144,140)">subsystem</span> <span class="" style="font-size:inherit">xmlns</span>=<span class="" style="font-size:inherit;color:rgb(113,140,0)">"urn:jboss:domain:keycloak:1.1"</span>/></span></code></pre>
</div>
<div>However, there is no such an entry in standalone.xml of
Wildfly 10's configuration/standalone.xml.</div>
<div><br>
</div>
<div>I manually added this part, then it gives me an error as I
start the application server.</div>
<div><br>
</div>
<div>Is this because the tutorial is not updated to the Wildfly
10 final release? Thank you.</div>
<div><br>
</div>
<div>Error message:</div>
<div><br>
</div>
<div>
<div>22:22:33,022 INFO [<a moz-do-not-send="true"
href="http://org.jboss.as">org.jboss.as</a>] (MSC service
thread 1-6) WFLYSRV0049: WildFly Full 10.0.0.Final (WildFly
Core 2.0.10.Final) starting</div>
<div>22:22:33,535 ERROR [org.jboss.as.server] (Controller Boot
Thread) WFLYSRV0055: Caught exception during boot:
org.jboss.as.controller.persistence.ConfigurationPersistenceException:
WFLYCTL0085: Failed to parse configuration</div>
<div> at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131)</div>
<div> at
org.jboss.as.server.ServerService.boot(ServerService.java:356)</div>
<div> at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)</div>
<div> at java.lang.Thread.run(Thread.java:745)</div>
<div>Caused by: javax.xml.stream.XMLStreamException:
ParseError at [row,col]:[216,2]</div>
<div>Message: Unexpected element
'{urn:jboss:domain:keycloak:1.1}subsystem'</div>
<div> at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)</div>
<div> at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)</div>
<div> at
org.jboss.as.server.parsing.StandaloneXml_4.parseServerProfile(StandaloneXml_4.java:546)</div>
<div> at
org.jboss.as.server.parsing.StandaloneXml_4.readServerElement(StandaloneXml_4.java:242)</div>
<div> at
org.jboss.as.server.parsing.StandaloneXml_4.readElement(StandaloneXml_4.java:141)</div>
<div> at
org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:103)</div>
<div> at
org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49)</div>
<div> at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)</div>
<div> at
org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)</div>
<div> at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)</div>
<div> ... 3 more</div>
<div><br>
</div>
<div>22:22:33,536 FATAL [org.jboss.as.server] (Controller Boot
Thread) WFLYSRV0056: Server boot has failed in an
unrecoverable manner; exiting. See previous messages for
details.</div>
</div>
</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>