[keycloak-user] keycloak-overlay-eap6-1.6.1.Final has jobs start up issue

Ismail Shaik ismail117 at gmail.com
Wed Nov 18 10:15:36 EST 2015


Stian,
I done the same procedure , but I am still having the same Issue , I think
this is the version in compatible , Key cloak config has the server 1.7 and
the  EAP standalone has the version 1.5 . I try to update the version with
different combinations. I did not have luck yet .

I tried another version  1.1.0 Final version which is working on existing
EAP 6.2.3.  but I am not able to deploy the examples customer and  product
portals.

I am able to maven build successfully and the server is not able to deploy
the ear file .

I am trying all the options but not able to get it work on my EAP 6.2 . Un
fortunately what ever the documentation is in the key cloak.org I followed
every step multiple times no luck yet. Please throw some light on this .
Help is highly appreciated.

Thanks,
Ismail

On Wed, Nov 18, 2015 at 1:37 AM, Stian Thorgersen <sthorger at redhat.com>
wrote:

> Keycloak server only runs as standalone or deployed to WildFly 9 or EAP
> 6.4. The adapter bits which is what you need for your applications works on
> a large ranger of containers.
>
> Use the standalone Keycloak server download and run it separately to your
> applications. Then get the eap6 adapter and deploy to EAP 6.2.
>
> On 17 November 2015 at 21:38, Ismail Shaik <ismail117 at gmail.com> wrote:
>
>> Hi Ataraxic,
>>
>> there is no manual process unless we compare and put them manually like
>>  standalone folder and bin folder . Its available on with older versions .
>> If you go to Beta version once you extract the
>> *keycloak-war-dist-all-1.1.0.Beta2.zip*
>> you will see deployment folder then just place that extracted deployment
>> folder into your existing jboss standalone/deployment folder .
>>
>>
>> On Tue, Nov 17, 2015 at 2:28 PM, Ataraxus <atx at binaryninja.de> wrote:
>>
>>> Hi Ismail,
>>>
>>> I'm able of installing keycloak via the documentation. The documentation
>>> tells one how to install keycloak via the server overlay. The error you get
>>> and posted here states (please correct me, if i'm wrong), that jboss is not
>>> able to parse the configuration, since its not compatible with the old
>>> versions.
>>>
>>> So I was asking if there is a "manual" of installing keycloak "manually"
>>> without relying on the server overlay aka configuration. By droping jars or
>>> wars in some jboss folders ;)
>>>
>>> Am 17.11.15 um 20:55 schrieb Ismail Shaik:
>>>
>>> Hi Bill,
>>>
>>> This is the Issue I am getting when I start the Server using the  *" bash
>>> standalone.sh --server-config=standalone-keycloak.xml"*
>>>
>>>
>>> Ismails-MacBook-Pro:bin ismailshaik$ bash standalone.sh
>>> --server-config=standalone-keycloak.xml
>>>
>>> =========================================================================
>>>
>>>
>>>   JBoss Bootstrap Environment
>>>
>>>
>>>   JBOSS_HOME: /Users/ismailshaik/Jboss/jboss-eap-6.2
>>>
>>>
>>>   JAVA:
>>> /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/bin/java
>>>
>>>
>>>   JAVA_OPTS:  -server -XX:+UseCompressedOops -Xms1303m -Xmx1303m
>>> -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true
>>> -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
>>>
>>>
>>> =========================================================================
>>>
>>>
>>> 13:53:49,193 INFO  [org.jboss.modules] (main) JBoss Modules version
>>> 1.3.3.Final-redhat-1
>>>
>>> 13:53:50,205 INFO  [org.jboss.msc] (main) JBoss MSC version
>>> 1.0.4.GA-redhat-1
>>>
>>> 13:53:50,303 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899:
>>> JBoss EAP 6.2.3.GA (AS 7.3.3.Final-redhat-SNAPSHOT) starting
>>>
>>> 13:53:50,814 ERROR [org.jboss.as.server] (Controller Boot Thread)
>>> JBAS015956: Caught exception during boot:
>>> org.jboss.as.controller.persistence.ConfigurationPersistenceException:
>>> JBAS014676: Failed to parse configuration
>>>
>>> at
>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141)
>>> [jboss-as-controller-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]
>>>
>>> at org.jboss.as.server.ServerService.boot(ServerService.java:324)
>>> [jboss-as-server-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]
>>>
>>> at
>>> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:253)
>>> [jboss-as-controller-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]
>>>
>>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]
>>>
>>> Caused by: javax.xml.stream.XMLStreamException: ParseError at
>>> [row,col]:[2,1]
>>>
>>> Message: Unexpected element '{urn:jboss:domain:1.7}server'
>>>
>>> at
>>> org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
>>> [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
>>>
>>> at
>>> org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
>>> [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
>>>
>>> at
>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133)
>>> [jboss-as-controller-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]
>>>
>>> ... 3 more
>>>
>>>
>>> 13:53:50,816 FATAL [org.jboss.as.server] (Controller Boot Thread)
>>> JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See
>>> previous messages for details.
>>>
>>> 13:53:50,825 INFO  [org.jboss.as] (MSC service thread 1-15) JBAS015950:
>>> JBoss EAP 6.2.3.GA (AS 7.3.3.Final-redhat-SNAPSHOT) stopped in 4ms
>>>
>>> Ismails-MacBook-Pro:bin ismailshaik$
>>>
>>>
>>> On Tue, Nov 17, 2015 at 1:43 PM, Bill Burke <bburke at redhat.com> wrote:
>>>
>>>> You don't need to migrate your 7 applications.  The client adapter
>>>> should still work on EAP 6.2.  If it doesn't thats something we would fix.
>>>> Its the server that we won't support on anything earlier.
>>>>
>>>> On 11/17/2015 2:29 PM, Ismail Shaik wrote:
>>>>
>>>>> Bill,
>>>>>
>>>>> Yes if I change the server I need to migrate all my 7 applications to
>>>>> new jboss  EAP. Which is why I would like to have the version
>>>>> compatible
>>>>> with jboss eap 6.2.x.
>>>>> Thank you for quick reply.
>>>>>
>>>>> On Nov 17, 2015 1:24 PM, "Bill Burke" < <bburke at redhat.com>
>>>>> bburke at redhat.com
>>>>> <mailto:bburke at redhat.com>> wrote:
>>>>>
>>>>>     Is there a reason we don't work on 6.2.3?
>>>>>
>>>>>     On 11/17/2015 2:07 PM, Ismail Shaik wrote:
>>>>>      > Marko,
>>>>>      >
>>>>>      > Can you please let me know Which version of key cloak is good
>>>>> for
>>>>>     Jboss
>>>>>      > EAP 6.2.3. ? I have to use the Jboss EAP 6.2.3 . Thanks in
>>>>> advance.
>>>>>      >
>>>>>      > On Tue, Nov 17, 2015 at 10:24 AM, Marko Strukelj
>>>>>     <mstrukel at redhat.com <mailto:mstrukel at redhat.com>
>>>>>      > <mailto:mstrukel at redhat.com <mailto:mstrukel at redhat.com>>>
>>>>> wrote:
>>>>>      >
>>>>>      >     You should use EAP 6.4.x. We only support that.
>>>>>      >
>>>>>      >     On Tue, Nov 17, 2015 at 5:12 PM, Ismail Shaik
>>>>>     <ismail117 at gmail.com <mailto:ismail117 at gmail.com>
>>>>>      >     <mailto:ismail117 at gmail.com <mailto:ismail117 at gmail.com>>>
>>>>> wrote:
>>>>>      >
>>>>>      >         Hi,
>>>>>      >         This is Ismail , I am trying to set up SSO using the key
>>>>>     cloak ,
>>>>>      >         I extracted the a *keycloak-overlay-eap6-1.6.1.Final
>>>>> *to my
>>>>>      >         Jboss Home  which has the version 6.2.3. EAP and when I
>>>>>     try to
>>>>>      >         start the server I am getting the below exception
>>>>>      >
>>>>>      >         se configuration
>>>>>      >
>>>>>      >         at
>>>>>      >
>>>>>
>>>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141)
>>>>>      >
>>>>>
>>>>> [jboss-as-controller-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]
>>>>>      >
>>>>>      >         at
>>>>>      >
>>>>>       org.jboss.as.server.ServerService.boot(ServerService.java:324)
>>>>>      >
>>>>>
>>>>> [jboss-as-server-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]
>>>>>      >
>>>>>      >         at
>>>>>      >
>>>>>
>>>>> org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:253)
>>>>>      >
>>>>>
>>>>> [jboss-as-controller-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]
>>>>>      >
>>>>>      >         at java.lang.Thread.run(Thread.java:745)
>>>>> [rt.jar:1.7.0_75]
>>>>>      >
>>>>>      >         Caused by: javax.xml.stream.XMLStreamException:
>>>>> ParseError at
>>>>>      >         [row,col]:[2,1]
>>>>>      >
>>>>>      >         Message: Unexpected element '{urn:jboss:domain:1.7
>>>>> }server'
>>>>>      >
>>>>>      >         at
>>>>>      >
>>>>>
>>>>> org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
>>>>>      >
>>>>>  [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
>>>>>      >
>>>>>      >         at
>>>>>      >
>>>>>
>>>>> org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
>>>>>      >
>>>>>  [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
>>>>>      >
>>>>>      >         at
>>>>>      >
>>>>>
>>>>> org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133)
>>>>>      >
>>>>>
>>>>> [jboss-as-controller-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]
>>>>>      >
>>>>>      >         ... 3 more
>>>>>      >
>>>>>      >
>>>>>      >         09:27:24,775 FATAL [org.jboss.as.server] (Controller
>>>>> Boot
>>>>>      >         Thread) JBAS015957: Server boot has failed in an
>>>>>     unrecoverable
>>>>>      >         manner; exiting. See previous messages for details.
>>>>>      >
>>>>>      >         09:27:24,784 INFO  [org.jboss.as <http://org.jboss.as>
>>>>>     <http://org.jboss.as/>] (MSC
>>>>>      >         service thread 1-7) JBAS015950: JBoss EAP 6.2.3.GA
>>>>>     <http://6.2.3.GA>
>>>>>      >         <http://6.2.3.ga/> (AS 7.3.3.Final-redhat-SNAPSHOT)
>>>>>     stopped in 4ms
>>>>>      >
>>>>>      >
>>>>>      >         I am running the server using below command.
>>>>>      >
>>>>>      >         bash standalone.sh
>>>>> --server-config=standalone-keycloak.xml
>>>>>      >
>>>>>      >
>>>>>      >         I am using the MAC OS
>>>>>      >
>>>>>      >
>>>>>      >         --
>>>>>      >         Thanks,
>>>>>      >         Ismail Shaik - 908 922 9571 <tel:908%20922%209571>
>>>>> <908%20922%209571>
>>>>>     <tel:908%20922%209571> <908%20922%209571>
>>>>>      >
>>>>>      >         _______________________________________________
>>>>>      >         keycloak-user mailing list
>>>>>      > keycloak-user at lists.jboss.org
>>>>>     <mailto:keycloak-user at lists.jboss.org>
>>>>>     <mailto:keycloak-user at lists.jboss.org
>>>>>     <mailto:keycloak-user at lists.jboss.org>>
>>>>>      > https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>>>      >
>>>>>      >
>>>>>      >
>>>>>      >
>>>>>      >
>>>>>      > --
>>>>>      > Thanks,
>>>>>      > Ismail Shaik - 908 922 9571 <tel:908%20922%209571>
>>>>> <908%20922%209571>
>>>>>      >
>>>>>      >
>>>>>      > _______________________________________________
>>>>>      > keycloak-user mailing list
>>>>>      > keycloak-user at lists.jboss.org <mailto:
>>>>> keycloak-user at lists.jboss.org>
>>>>>      > https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>>>      >
>>>>>
>>>>>     --
>>>>>     Bill Burke
>>>>>     JBoss, a division of Red Hat
>>>>>     http://bill.burkecentral.com
>>>>>     _______________________________________________
>>>>>     keycloak-user mailing list
>>>>>     keycloak-user at lists.jboss.org <mailto:
>>>>> keycloak-user at lists.jboss.org>
>>>>>     https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>>>
>>>>>
>>>> --
>>>> Bill Burke
>>>> JBoss, a division of Red Hat
>>>> http://bill.burkecentral.com
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Ismail Shaik - 908 922 9571
>>>
>>>
>>> _______________________________________________
>>> keycloak-user mailing listkeycloak-user at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>>
>>>
>>> _______________________________________________
>>> keycloak-user mailing list
>>> keycloak-user at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>
>>
>>
>> --
>> Thanks,
>> Ismail Shaik - 908 922 9571
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>
>
>


-- 
Thanks,
Ismail Shaik - 908 922 9571
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151118/5182b500/attachment-0001.html 


More information about the keycloak-user mailing list