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