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

Stian Thorgersen sthorger at redhat.com
Wed Nov 18 08:03:37 EST 2015


On 18 November 2015 at 13:55, Ataraxus <atx at binaryninja.de> wrote:

> Hello Stian, thank you very much making this point clear!
>
> I guess the reason why people show up with the "expectation" that EAP 6.2
> should be supported, is that on the frontpage it states:
>   Supports JBoss AS7, EAP 6.x, Wildfly, Tomcat,...
> and as you mentioned this holds only true for the adapters (maybe this
> point should be stressed on the frontpage somehow).
>

Good point. We will update the website and documentation to make it clearer.


> But as I and maybe others implicitly thought this is also applicable to
> the "host AS" of keycloak.
> I think another reason, why people ask for this setup (deploying keycloak
> on EAP 6.2) is that in large companies you only get "provisioned" versions
> of JBoss
> and either your IT doesn't support EAP 6.4 yet, does'nt let you run
> "standalone" servers "at will" or even you are not provided shell access to
> the JBoss.
> I think these are reasons why people (and I) asking for Keycloak to be
> deployable on older versions and Keycloak to be deployable as an EAR/WAR.
>

Fair point, but I'm afraid we can't support older versions of EAP and
especially not deploying as a WAR. It's just to much work and also means we
can't rely on new features in newer versions of WildFly and JBoss EAP.

You should talk to your IT department about provisioning a Keycloak server
for you. As I said Keycloak server should be treated as a separate service
and not be co-located with your applications. If they are unwilling to do
that go ahead and deploy it externally in the cloud (that's why the cloud
was invented isn't it?) ;)


>
>
>
> Am 18.11.15 um 13:43 schrieb Stian Thorgersen:
>
> Keycloak server will only ever be deployable to latest stable releases off
> WildFly and JBoss EAP. There's two reasons for this:
>
> a) We don't have the resources to maintain it
> b) More importantly we want to be able to use new stuff (supporting old
> EAP releases means old dependencies for everything)
>
> End of the day Keycloak is a standalone service, not something you should
> embed into your applications. It's also not just targeted towards JEE
> developers.
>
> On 18 November 2015 at 10:49, Marko Strukelj <mstrukel at redhat.com> wrote:
>
>> The attempt here looks to be to install server on EAP 6.2
>>
>> Technical reasons for server are that overlay contains modules, and
>> standalone-keycloak.xml, which are targeted to specific version of EAP. The
>> exact issue in the above error is that the packaged standalone-keycloak.xml
>> uses configuration version that EAP 6.2 doesn't yet understand. There are
>> probably other reasons why it wouldn't work even after fixing that manually
>> - like old incompatible versions of the dependencies provided by EAP that
>> we rely upon.
>>
>> Adapter was tested on EAP 6.2, and it should work yes.
>>
>> On Tue, Nov 17, 2015 at 8:43 PM, Bill Burke < <bburke at redhat.com>
>> 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>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>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>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>
>>> >     <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/>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 <908%20922%209571>
>>> <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>
>>> keycloak-user at lists.jboss.org
>>> >     <mailto: <keycloak-user at lists.jboss.org>
>>> keycloak-user at lists.jboss.org>>
>>> >      > https://lists.jboss.org/mailman/listinfo/keycloak-user
>>> >      >
>>> >      >
>>> >      >
>>> >      >
>>> >      >
>>> >      > --
>>> >      > Thanks,
>>> >      > Ismail Shaik - 908 922 9571 <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>
>>> >      > 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
>>> _______________________________________________
>>> keycloak-user mailing list
>>> keycloak-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
>>
>
>
>
> _______________________________________________
> keycloak-user mailing listkeycloak-user at lists.jboss.orghttps://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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151118/c064c609/attachment-0001.html 


More information about the keycloak-user mailing list