<div dir="ltr">Hi,<div><br></div><div>Please edit </div><div>../standalone/deployments/auth-server.war/WEB-INF/jboss-deployment-structure.xml<br></div><div><br></div><div>From <span style="background-color:rgb(249,203,156)"><jboss-deployment-structure></span></div><div><br></div><div>To <span style="background-color:rgb(182,215,168)"><jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2"></span></div><div><span style="background-color:rgb(182,215,168)"><br></span></div><div>Thanks,</div><div>VineetC</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 7:28 PM, Paulo Jerônimo <span dir="ltr"><<a href="mailto:paulojeronimo@gmail.com" target="_blank">paulojeronimo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying to make Keycloak 1.3.1 works on a customer. My objective, is install it (in a development environment) with JBoss BPM Suite 6.1 (it runs with JBoss EAP 6.4). So, I will need to access /auth/admin in the same server with the context /business-central.<br><br>The environment is Windows 8 with Cygwin.<br><br>I'm finding errors trying to do this installation, even before install BPM Suite, on a pure JBoss EAP 6.4 installation.<br><br>Here is my procedure and the error:<br><br>$ rm -rf jboss-eap-6.4<br>$ shasum jboss-eap-6.4.0.zip<br>9ac2979fe92040a039a3a3db8b4ce8d166e2c872 *jboss-eap-6.4.0.zip<br>$ unzip -q jboss-eap-6.4.0.zip<br>$ unzip -q -d jboss-eap-6.4 keycloak-overlay-eap6-1.3.1.Final.zip<br>$ JBOSS_HOME=$PWD/jboss-eap-6.4 jboss-eap-6.4/bin/standalone.sh --server-config standalone-keycloak.xml<br>=========================================================================<br><br> JBoss Bootstrap Environment<br><br> JBOSS_HOME: C:\desenv\projetos\stn\sigti\instalador-bpms\jboss-eap-6.4<br><br> JAVA: /cygdrive/c/Program Files/Java/jdk1.7.0_75/bin/java<br><br> JAVA_OPTS: -server -XX:+UseCompressedOops -verbose:gc -Xloggc:"C:\desenv\projetos\stn\sigti\instalador-bpms\jboss-eap-6.4\standalone\log/gc.log" -XX:+PrintGCDetails -XX:+PrintGC<br>DateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true<br> -Duser.language=en -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true<br><br>=========================================================================<br><br>10:52:42,978 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.6.Final-redhat-1<br>10:52:43,125 INFO [org.jboss.msc] (main) JBoss MSC version 1.1.5.Final-redhat-1<br>10:52:43,183 INFO [<a href="http://org.jboss.as" target="_blank">org.jboss.as</a>] (MSC service thread 1-6) JBAS015899: JBoss EAP <a href="http://6.4.0.GA" target="_blank">6.4.0.GA</a> (AS 7.5.0.Final-redhat-21) starting<br>10:52:43,584 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: J<br>BAS014676: Failed to parse configuration<br> at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at org.jboss.as.server.ServerService.boot(ServerService.java:330) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:263) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]<br>Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module org.keycloak.keycloak-server-subsystem<br> at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:154) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:435) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final-redhat-3.jar:1.1.0.Final-redhat-3]<br> at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final-redhat-3.jar:1.1.0.Final-redhat-3]<br> at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> ... 3 more<br>Caused by: java.util.concurrent.ExecutionException: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module<br> at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.7.0_75]<br> at java.util.concurrent.FutureTask.get(FutureTask.java:188) [rt.jar:1.7.0_75]<br> at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:146) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> ... 9 more<br>Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module<br> at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:195) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:68) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:126) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:123) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_75]<br> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_75]<br> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_75]<br> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]<br> at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]<br>Caused by: org.jboss.modules.ModuleNotFoundException: org.keycloak.keycloak-server-subsystem:main<br> at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:240) [jboss-modules.jar:1.3.6.Final-redhat-1]<br> at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:177) [jboss-as-controller-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]<br> ... 8 more<br><br>10:52:43,595 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.<br>11:52:43,604 INFO [<a href="http://org.jboss.as" target="_blank">org.jboss.as</a>] (MSC service thread 1-7) JBAS015950: JBoss EAP <a href="http://6.4.0.GA" target="_blank">6.4.0.GA</a> (AS 7.5.0.Final-redhat-21) stopped in 3ms<br><br><br>I saw the differences between the standard configuration:<br><br>$ vim -d jboss-eap-6.4/standalone/configuration/standalone{.xml,-keycloak.xml}<br><br>And I know the module org.keycloak.keycloak-server-subsystem is present:<br><br>$ tree jboss-eap-6.4/modules/system/layers/base/org/keycloak/keycloak-server-subsystem/<br>jboss-eap-6.4/modules/system/layers/base/org/keycloak/keycloak-server-subsystem/<br>`-- main<br> `-- module.xml<br><br>1 directory, 1 file<br><br>Maybe I'm missing some detail? <span lang="en"><span>I appreciate any help.</span></span></div>
<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>