<div dir="ltr">Use the latest keycloak-wf9-adapter-dist from the download site: <a href="http://keycloak.jboss.org/keycloak/downloads.html?dir=0%3Dadapters/keycloak-oidc%3B">http://keycloak.jboss.org/keycloak/downloads.html?dir=0%3Dadapters/keycloak-oidc%3B</a><div><br></div><div>You're trying to use latest config syntax with an old version that uses a different kind of config, and is outdated.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 22, 2015 at 6:02 PM, Vijay Bhadriraju <span dir="ltr"><<a href="mailto:vbhadrir@us.ibm.com" target="_blank">vbhadrir@us.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">I am getting the following exception after
unzipping the keycloak-wildfly-adapter-dist-1.1.0.Final.zip into the WildFly
9.0 server and configuring the standalone.xml file with the following lines
as described in the keycloak documentation. I have tried this with Wildfly
10.0 version also and get the same error.</font><br><br><tt><font size="1"><server xmlns="urn:jboss:domain:1.4"></font></tt><br><tt><font size="1"><extensions></font></tt><br><tt><font size="1"><b><extension module="org.keycloak.keycloak-adapter-subsystem"/></b></font></tt><br><tt><font size="1">...</font></tt><br><tt><font size="1"></extensions></font></tt><br><tt><font size="1"><profile></font></tt><br><tt><font size="1"><b><subsystem xmlns="urn:jboss:domain:keycloak:1.1"/></b></font></tt><br><tt><font size="1">...</font></tt><br><tt><font size="1"></profile></font></tt><br><br><font size="2" face="sans-serif">How do I resolve this keycloak module
loading exception?</font><br><br><br><font size="2" face="sans-serif">11:35:36,018 ERROR [org.jboss.as.server]
(Controller Boot Thread) WFLYSRV0055: Caught exce</font><br><font size="2" face="sans-serif">ption during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException:</font><br><font size="2" face="sans-serif">WFLYCTL0085: Failed to parse configuration</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigura</font><br><font size="2" face="sans-serif">tionPersister.java:131) [wildfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.as.server.ServerService.boot(ServerService.java:356)
[wildfly-server-</font><br><font size="2" face="sans-serif">2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerServi</font><br><font size="2" face="sans-serif">ce.java:299) [wildfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at java.lang.Thread.run(Unknown
Source) [rt.jar:1.8.0_65]</font><br><font size="2" face="sans-serif">Caused by: javax.xml.stream.XMLStreamException:
WFLYCTL0083: Failed to load module org.key</font><br><font size="2" face="sans-serif">cloak.keycloak-adapter-subsystem</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:</font><br><font size="2" face="sans-serif">155) [wildfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.as.server.parsing.StandaloneXml_4.readServerElement(StandaloneXml_4.j</font><br><font size="2" face="sans-serif">ava:220) [wildfly-server-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.as.server.parsing.StandaloneXml_4.readElement(StandaloneXml_4.java:14</font><br><font size="2" face="sans-serif">3) [wildfly-server-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:69)
[w</font><br><font size="2" face="sans-serif">ildfly-server-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:47)
[w</font><br><font size="2" face="sans-serif">ildfly-server-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
[staxm</font><br><font size="2" face="sans-serif">apper-1.2.0.Final.jar:1.2.0.Final]</font><br><font size="2" face="sans-serif"> at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
[staxma</font><br><font size="2" face="sans-serif">pper-1.2.0.Final.jar:1.2.0.Final]</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigura</font><br><font size="2" face="sans-serif">tionPersister.java:123) [wildfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> ... 3 more</font><br><font size="2" face="sans-serif">Caused by: java.util.concurrent.ExecutionException:
javax.xml.stream.XMLStreamException: W</font><br><font size="2" face="sans-serif">FLYCTL0083: Failed to load module</font><br><font size="2" face="sans-serif"> at java.util.concurrent.FutureTask.report(Unknown
Source) [rt.jar:1.8.0_65]</font><br><font size="2" face="sans-serif"> at java.util.concurrent.FutureTask.get(Unknown
Source) [rt.jar:1.8.0_65]</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:</font><br><font size="2" face="sans-serif">147) [wildfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> ... 10 more</font><br><font size="2" face="sans-serif">Caused by: javax.xml.stream.XMLStreamException:
WFLYCTL0083: Failed to load module</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:196)</font><br><font size="2" face="sans-serif">[wildfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:69)
[</font><br><font size="2" face="sans-serif">wildfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:127)
[wil</font><br><font size="2" face="sans-serif">dfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:124)
[wil</font><br><font size="2" face="sans-serif">dfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> at java.util.concurrent.FutureTask.run(Unknown
Source) [rt.jar:1.8.0_65]</font><br><font size="2" face="sans-serif"> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source) [rt.jar:1.8.0</font><br><font size="2" face="sans-serif">_65]</font><br><font size="2" face="sans-serif"> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source) [rt.jar:1.8.</font><br><font size="2" face="sans-serif">0_65]</font><br><font size="2" face="sans-serif"> at java.lang.Thread.run(Unknown
Source) [rt.jar:1.8.0_65]</font><br><font size="2" face="sans-serif"> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
[<a href="http://jboss-threads-2.2.1.Fi" target="_blank">jboss-threads-2.2.1.Fi</a></font><br><font size="2" face="sans-serif">nal.jar:2.2.1.Final]</font><br><font size="2" face="sans-serif">Caused by: org.jboss.modules.ModuleNotFoundException:
org.keycloak.keycloak-adapter-subsys</font><br><font size="2" face="sans-serif">tem:main</font><br><font size="2" face="sans-serif"> at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:236)
[jboss-modules</font><br><font size="2" face="sans-serif">.jar:1.4.4.Final]</font><br><font size="2" face="sans-serif"> at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178)</font><br><font size="2" face="sans-serif">[wildfly-controller-2.0.0.CR7.jar:2.0.0.CR7]</font><br><font size="2" face="sans-serif"> ... 8 more</font><br><br><font size="2" face="sans-serif">Regards, Vijay</font><br><br><br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>