Hey Ismail,

please consider this statement:

"
On 18 November 2015 at 13:55, Ataraxus <atx@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.
"
I guess trying to get Keycloak running on EAP 6.2 is not worth the effort, nor supported. What is supported are the adapters for EAP 6.2 but i guess you need keycloak oon it (as i did).


Am 18.11.15 um 16:15 schrieb Ismail Shaik:
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@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@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@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@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@redhat.com
<mailto:bburke@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@redhat.com <mailto:mstrukel@redhat.com>
     > <mailto:mstrukel@redhat.com <mailto:mstrukel@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@gmail.com <mailto:ismail117@gmail.com>
     >     <mailto:ismail117@gmail.com <mailto:ismail117@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>
    <tel:908%20922%209571>
     >
     >         _______________________________________________
     >         keycloak-user mailing list
     > keycloak-user@lists.jboss.org
    <mailto:keycloak-user@lists.jboss.org>
    <mailto:keycloak-user@lists.jboss.org
    <mailto:keycloak-user@lists.jboss.org>>
     > https://lists.jboss.org/mailman/listinfo/keycloak-user
     >
     >
     >
     >
     >
     > --
     > Thanks,
     > Ismail Shaik - 908 922 9571 <tel:908%20922%209571>
     >
     >
     > _______________________________________________
     > keycloak-user mailing list
     > keycloak-user@lists.jboss.org <mailto:keycloak-user@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@lists.jboss.org <mailto:keycloak-user@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 list keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user



--
Thanks,
Ismail Shaik - 908 922 9571

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user




--
Thanks,
Ismail Shaik - 908 922 9571