<div dir="ltr">Stian,<div>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 .</div><div><br></div><div>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.</div><div><br></div><div>I am able to maven build successfully and the server is not able to deploy the ear file .</div><div><br></div><div>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 <a href="http://cloak.org">cloak.org</a> I followed every step multiple times no luck yet. Please throw some light on this . Help is highly appreciated.</div><div><br></div><div>Thanks,</div><div>Ismail </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 18, 2015 at 1:37 AM, Stian Thorgersen <span dir="ltr"><<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.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">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.<div><br></div><div>Use the standalone Keycloak server download and run it separately to your applications. Then get the eap6 adapter and deploy to EAP 6.2.<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 17 November 2015 at 21:38, Ismail Shaik <span dir="ltr"><<a href="mailto:ismail117@gmail.com" target="_blank">ismail117@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">Hi Ataraxic,<div><br></div><div>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 <b>keycloak-war-dist-all-1.1.0.Beta2.zip</b><br><div>you will see deployment folder then just place that extracted deployment folder into your existing jboss standalone/deployment folder .</div><div><br></div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 2:28 PM, Ataraxus <span dir="ltr"><<a href="mailto:atx@binaryninja.de" target="_blank">atx@binaryninja.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Ismail, <br>
<br>
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.<br>
<br>
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 ;)<br>
<br>
<div>Am 17.11.15 um 20:55 schrieb Ismail
Shaik:<br>
</div>
<blockquote type="cite"><div><div>
<div dir="ltr">Hi Bill,
<div><br>
</div>
<div>This is the Issue I am getting when I start the Server
using the <b>" <span style="font-family:Menlo;font-size:11px">bash
standalone.sh --server-config=standalone-keycloak.xml</span>"</b></div>
<div><b><br>
</b></div>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Ismails-MacBook-Pro:bin
ismailshaik$ bash standalone.sh
--server-config=standalone-keycloak.xml</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">=========================================================================</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
JBoss Bootstrap Environment</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
JBOSS_HOME: /Users/ismailshaik/Jboss/jboss-eap-6.2</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
JAVA:
/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/bin/java</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
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</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">=========================================================================</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">13:53:49,193
INFO [org.jboss.modules] (main) JBoss Modules version
1.3.3.Final-redhat-1</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">13:53:50,205
INFO [org.jboss.msc] (main) JBoss MSC version
1.0.4.GA-redhat-1</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">13:53:50,303
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.2.3.GA" target="_blank">6.2.3.GA</a>
(AS 7.3.3.Final-redhat-SNAPSHOT) starting</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)">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</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="white-space:pre-wrap">        </span>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]</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="white-space:pre-wrap">        </span>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]</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="white-space:pre-wrap">        </span>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]</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="white-space:pre-wrap">        </span>at
java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_75]</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)">Caused
by: javax.xml.stream.XMLStreamException: ParseError at
[row,col]:[2,1]</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)">Message:
Unexpected element '{<a>urn:jboss:domain:1.7</a>}server'</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="white-space:pre-wrap">        </span>at
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
[staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="white-space:pre-wrap">        </span>at
org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
[staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="white-space:pre-wrap">        </span>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]</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)"><span style="white-space:pre-wrap">        </span>...
3 more</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br>
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(195,55,32)">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.</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">13:53:50,825
INFO [<a href="http://org.jboss.as" target="_blank">org.jboss.as</a>]
(MSC service thread 1-15) JBAS015950: JBoss EAP <a href="http://6.2.3.GA" target="_blank">6.2.3.GA</a>
(AS 7.3.3.Final-redhat-SNAPSHOT) stopped in 4ms</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Ismails-MacBook-Pro:bin
ismailshaik$ </p>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Nov 17, 2015 at 1:43 PM, Bill
Burke <span dir="ltr"><<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<span><br>
<br>
On 11/17/2015 2:29 PM, Ismail Shaik wrote:<br>
</span>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
Bill,<br>
<br>
Yes if I change the server I need to migrate all my 7
applications to<br>
new jboss EAP. Which is why I would like to have the
version compatible<br>
with jboss eap 6.2.x.<br>
Thank you for quick reply.<br>
<br>
On Nov 17, 2015 1:24 PM, "Bill Burke" <<a href="mailto:bburke@redhat.com" target="_blank"></a><a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a><br>
</span><span>
<mailto:<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>>>
wrote:<br>
<br>
Is there a reason we don't work on 6.2.3?<br>
<br>
On 11/17/2015 2:07 PM, Ismail Shaik wrote:<br>
> Marko,<br>
><br>
> Can you please let me know Which version of
key cloak is good for<br>
Jboss<br>
> EAP 6.2.3. ? I have to use the Jboss EAP 6.2.3
. Thanks in advance.<br>
><br>
> On Tue, Nov 17, 2015 at 10:24 AM, Marko
Strukelj<br>
<<a href="mailto:mstrukel@redhat.com" target="_blank">mstrukel@redhat.com</a>
<mailto:<a href="mailto:mstrukel@redhat.com" target="_blank">mstrukel@redhat.com</a>><br>
</span><span>
> <mailto:<a href="mailto:mstrukel@redhat.com" target="_blank">mstrukel@redhat.com</a>
<mailto:<a href="mailto:mstrukel@redhat.com" target="_blank">mstrukel@redhat.com</a>>>>
wrote:<br>
><br>
> You should use EAP 6.4.x. We only support
that.<br>
><br>
> On Tue, Nov 17, 2015 at 5:12 PM, Ismail
Shaik<br>
<<a href="mailto:ismail117@gmail.com" target="_blank">ismail117@gmail.com</a>
<mailto:<a href="mailto:ismail117@gmail.com" target="_blank">ismail117@gmail.com</a>><br>
</span>
<div>
<div>
> <mailto:<a href="mailto:ismail117@gmail.com" target="_blank">ismail117@gmail.com</a>
<mailto:<a href="mailto:ismail117@gmail.com" target="_blank">ismail117@gmail.com</a>>>>
wrote:<br>
><br>
> Hi,<br>
> This is Ismail , I am trying to set
up SSO using the key<br>
cloak ,<br>
> I extracted the a
*keycloak-overlay-eap6-1.6.1.Final *to my<br>
> Jboss Home which has the version
6.2.3. EAP and when I<br>
try to<br>
> start the server I am getting the
below exception<br>
><br>
> se configuration<br>
><br>
> at<br>
><br>
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141)<br>
><br>
[jboss-as-controller-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]<br>
><br>
> at<br>
><br>
org.jboss.as.server.ServerService.boot(ServerService.java:324)<br>
><br>
[jboss-as-server-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]<br>
><br>
> at<br>
><br>
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:253)<br>
><br>
[jboss-as-controller-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]<br>
><br>
> at
java.lang.Thread.run(Thread.java:745)
[rt.jar:1.7.0_75]<br>
><br>
> Caused by:
javax.xml.stream.XMLStreamException: ParseError at<br>
> [row,col]:[2,1]<br>
><br>
> Message: Unexpected element
'{<a>urn:jboss:domain:1.7</a>}server'<br>
><br>
> at<br>
><br>
org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)<br>
>
[staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]<br>
><br>
> at<br>
><br>
org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)<br>
>
[staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]<br>
><br>
> at<br>
><br>
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133)<br>
><br>
[jboss-as-controller-7.3.3.Final-redhat-SNAPSHOT.jar:7.3.3.Final-redhat-SNAPSHOT]<br>
><br>
> ... 3 more<br>
><br>
><br>
> 09:27:24,775 FATAL
[org.jboss.as.server] (Controller Boot<br>
> Thread) JBAS015957: Server boot has
failed in an<br>
unrecoverable<br>
> manner; exiting. See previous
messages for details.<br>
><br>
> 09:27:24,784 INFO [<a href="http://org.jboss.as" rel="noreferrer" target="_blank">org.jboss.as</a>
<<a href="http://org.jboss.as" rel="noreferrer" target="_blank">http://org.jboss.as</a>><br>
<<a href="http://org.jboss.as/" rel="noreferrer" target="_blank">http://org.jboss.as/</a>>] (MSC<br>
> service thread 1-7) JBAS015950:
JBoss EAP <a href="http://6.2.3.GA" rel="noreferrer" target="_blank">6.2.3.GA</a><br>
</div>
</div>
<<a href="http://6.2.3.GA" rel="noreferrer" target="_blank">http://6.2.3.GA</a>><span><br>
> <<a href="http://6.2.3.ga/" rel="noreferrer" target="_blank">http://6.2.3.ga/</a>> (AS
7.3.3.Final-redhat-SNAPSHOT)<br>
stopped in 4ms<br>
><br>
><br>
> I am running the server using below
command.<br>
><br>
> bash standalone.sh
--server-config=standalone-keycloak.xml<br>
><br>
><br>
> I am using the MAC OS<br>
><br>
><br>
> --<br>
> Thanks,<br>
> Ismail Shaik - <a href="tel:908%20922%209571" value="+19089229571" target="_blank">908 922 9571</a>
<a href="tel:908%20922%209571" target="_blank"><tel:908%20922%209571></a><br>
<a href="tel:908%20922%209571" target="_blank"><tel:908%20922%209571></a><br>
><br>
>
_______________________________________________<br>
> keycloak-user mailing list<br>
> <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<mailto:<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>><br>
</span>
<mailto:<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><span><br>
<mailto:<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">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>
><br>
><br>
><br>
><br>
><br>
> --<br>
> Thanks,<br>
> Ismail Shaik - <a href="tel:908%20922%209571" value="+19089229571" target="_blank">908 922 9571</a>
<a href="tel:908%20922%209571" target="_blank"><tel:908%20922%209571></a><br>
><br>
><br>
>
_______________________________________________<br>
> keycloak-user mailing list<br>
> <a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<mailto:<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">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>
><br>
<br>
--<br>
</span><span>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" rel="noreferrer" target="_blank">http://bill.burkecentral.com</a><br>
_______________________________________________<br>
keycloak-user mailing list<br>
</span><span>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
<mailto:<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">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>
<br>
</span></blockquote>
<br>
-- <br>
<div>
<div>
Bill Burke<br>
JBoss, a division of Red Hat<br>
<a href="http://bill.burkecentral.com" rel="noreferrer" target="_blank">http://bill.burkecentral.com</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div>Thanks,</div>
<div>Ismail Shaik - <a href="tel:908%20922%209571" value="+19089229571" target="_blank">908 922 9571</a></div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre><div><div>_______________________________________________
keycloak-user mailing list
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a>
</div></div><a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">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><br clear="all"><div><br></div>-- <br><div><div>Thanks,</div><div>Ismail Shaik - <a href="tel:908%20922%209571" value="+19089229571" target="_blank">908 922 9571</a></div></div>
</div>
</div></div><br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div>Thanks,</div><div>Ismail Shaik - 908 922 9571</div></div>
</div>