[keycloak-user] Keycloak 1.3.1 on JBoss EAP 6.4
Paulo Jerônimo
paulojeronimo at gmail.com
Wed Jun 24 10:27:10 EDT 2015
Vineet,
There´s no auth-server.war in jboss-eap-6.4 when I extract
keycloak-eap6-adapter-dist-1.3.1.Final.zip on it.
I also tried to find it on the zip:
$ unzip -t keycloak-eap6-adapter-dist-1.3.1.Final.zip | grep auth
testing:
modules/system/layers/base/org/keycloak/keycloak-servlet-oauth-client/ OK
testing:
modules/system/layers/base/org/keycloak/keycloak-servlet-oauth-client/main/
OK
testing:
modules/system/layers/base/org/keycloak/keycloak-servlet-oauth-client/main/module.xml
OK
testing:
modules/system/layers/base/org/keycloak/keycloak-servlet-oauth-client/main/keycloak-servlet-oauth-client-1.3.1.Final.jar
OK
Maybe I'm doing something wrong?
2015-06-24 11:19 GMT-03:00 Vineet Chaudhary <vineet.chaudhary at praxify.com>:
> Hi,
>
> Please edit
>
> ../standalone/deployments/auth-server.war/WEB-INF/jboss-deployment-structure.xml
>
> From <jboss-deployment-structure>
>
> To <jboss-deployment-structure
> xmlns="urn:jboss:deployment-structure:1.2">
>
> Thanks,
> VineetC
>
> On Wed, Jun 24, 2015 at 7:28 PM, Paulo Jerônimo <paulojeronimo at gmail.com>
> wrote:
>
>> 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.
>>
>> The environment is Windows 8 with Cygwin.
>>
>> I'm finding errors trying to do this installation, even before install
>> BPM Suite, on a pure JBoss EAP 6.4 installation.
>>
>> Here is my procedure and the error:
>>
>> $ rm -rf jboss-eap-6.4
>> $ shasum jboss-eap-6.4.0.zip
>> 9ac2979fe92040a039a3a3db8b4ce8d166e2c872 *jboss-eap-6.4.0.zip
>> $ unzip -q jboss-eap-6.4.0.zip
>> $ unzip -q -d jboss-eap-6.4 keycloak-overlay-eap6-1.3.1.Final.zip
>> $ JBOSS_HOME=$PWD/jboss-eap-6.4 jboss-eap-6.4/bin/standalone.sh
>> --server-config standalone-keycloak.xml
>> =========================================================================
>>
>> JBoss Bootstrap Environment
>>
>> JBOSS_HOME: C:\desenv\projetos\stn\sigti\instalador-bpms\jboss-eap-6.4
>>
>> JAVA: /cygdrive/c/Program Files/Java/jdk1.7.0_75/bin/java
>>
>> 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
>> DateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5
>> -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m
>> -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true
>> -Duser.language=en -Djboss.modules.system.pkgs=org.jboss.byteman
>> -Djava.awt.headless=true -Djboss.modules.policy-permissions=true
>>
>> =========================================================================
>>
>> 10:52:42,978 INFO [org.jboss.modules] (main) JBoss Modules version
>> 1.3.6.Final-redhat-1
>> 10:52:43,125 INFO [org.jboss.msc] (main) JBoss MSC version
>> 1.1.5.Final-redhat-1
>> 10:52:43,183 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899:
>> JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) starting
>> 10:52:43,584 ERROR [org.jboss.as.server] (Controller Boot Thread)
>> JBAS015956: Caught exception during boot:
>> org.jboss.as.controller.persistence.ConfigurationPersistenceException: J
>> BAS014676: Failed to parse configuration
>> 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]
>> 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]
>> 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]
>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]
>> Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to
>> load module org.keycloak.keycloak-server-subsystem
>> 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]
>> 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]
>> 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]
>> 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]
>> at
>> org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
>> [staxmapper-1.1.0.Final-redhat-3.jar:1.1.0.Final-redhat-3]
>> at
>> org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
>> [staxmapper-1.1.0.Final-redhat-3.jar:1.1.0.Final-redhat-3]
>> 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]
>> ... 3 more
>> Caused by: java.util.concurrent.ExecutionException:
>> javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module
>> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>> [rt.jar:1.7.0_75]
>> at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>> [rt.jar:1.7.0_75]
>> 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]
>> ... 9 more
>> Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to
>> load module
>> 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]
>> 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]
>> 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]
>> 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]
>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>> [rt.jar:1.7.0_75]
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> [rt.jar:1.7.0_75]
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> [rt.jar:1.7.0_75]
>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]
>> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
>> [jboss-threads-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]
>> Caused by: org.jboss.modules.ModuleNotFoundException:
>> org.keycloak.keycloak-server-subsystem:main
>> at
>> org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:240)
>> [jboss-modules.jar:1.3.6.Final-redhat-1]
>> 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]
>> ... 8 more
>>
>> 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.
>> 11:52:43,604 INFO [org.jboss.as] (MSC service thread 1-7) JBAS015950:
>> JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) stopped in 3ms
>>
>>
>> I saw the differences between the standard configuration:
>>
>> $ vim -d
>> jboss-eap-6.4/standalone/configuration/standalone{.xml,-keycloak.xml}
>>
>> And I know the module org.keycloak.keycloak-server-subsystem is present:
>>
>> $ tree
>> jboss-eap-6.4/modules/system/layers/base/org/keycloak/keycloak-server-subsystem/
>>
>> jboss-eap-6.4/modules/system/layers/base/org/keycloak/keycloak-server-subsystem/
>> `-- main
>> `-- module.xml
>>
>> 1 directory, 1 file
>>
>> Maybe I'm missing some detail? I appreciate any help.
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>
--
Att,
Paulo Jerônimo
Fone: (61) 9504-6178
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150624/951616e6/attachment-0001.html
More information about the keycloak-user
mailing list