Docs for AS 7.1.1 and EAP 6.2 workaround

This commit is contained in:
mposolda 2014-11-03 17:05:00 +01:00
parent fd08a884ad
commit d997e73f2d
2 changed files with 54 additions and 6 deletions

View file

@ -110,6 +110,10 @@
<name>project.version</name> <name>project.version</name>
<value>${project.version}</value> <value>${project.version}</value>
</injection> </injection>
<injection>
<name>picketlink.version</name>
<value>${picketlink.version}</value>
</injection>
</injections> </injections>
<options> <options>
<xmlTransformerType>saxon</xmlTransformerType> <xmlTransformerType>saxon</xmlTransformerType>

View file

@ -120,6 +120,9 @@ keycloak-war-dist-all-&project.version;/
Password: <emphasis>admin</emphasis>. Keycloak will then prompt you to Password: <emphasis>admin</emphasis>. Keycloak will then prompt you to
enter in a new password. enter in a new password.
</para> </para>
<para>
If you have Keycloak on JBoss AS 7.1.1 or EAP 6.2 make sure to follow <link linkend="as7-specifics">these steps</link>.
</para>
</section> </section>
<section> <section>
<title id="configure-server">Configuring the Server</title> <title id="configure-server">Configuring the Server</title>
@ -389,20 +392,59 @@ keycloak-war-dist-all-&project.version;/
</para> </para>
</section> </section>
<section> <section id="as7-specifics">
<title>AS7/EAP6.x Logging</title> <title>AS7/EAP6.x specifics</title>
<para> <para>
Accessing the admin console will get these annoying log messages: If you have Keycloak on JBoss AS 7.1.1 or JBoss EAP 6.2, you need to do few other things in order to have Keycloak up and running. This includes:
<orderedlist>
<listitem>
<para>
Remove or comment the element from file <literal>KEYCLOAK_HOME/standalone/deployments/auth-server.war/WEB-INF/jboss-deployment-structure.xml</literal>.
<programlisting><![CDATA[
<exclude-subsystems>
<subsystem name="webservices"/>
</exclude-subsystems>
]]></programlisting>
</para>
</listitem>
<listitem>
<para>
Then either:
</para>
<para>
<itemizedlist>
<listitem>
<para>
Disable webservices extension and subsystem by remove (or comment) both in <literal>KEYCLOAK_HOME/standalone/configuration/standalone.xml</literal>.
</para>
</listitem>
<listitem>
<para>
If you want to use webservices subsystem, the alternative is to remove 2 JAR files
<literal>KEYCLOAK_HOME/standalone/deployments/auth-server.war/WEB-INF/lib/keycloak-saml-protocol-&project.version;.jar</literal>
and <literal>KEYCLOAK_HOME/standalone/deployments/auth-server.war/WEB-INF/lib/picketlink-federation-&picketlink.version;.jar</literal>
but note that <link linkend="saml">SAML</link> won't work.
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
</orderedlist>
</para> </para>
<section>
<title>AS7/EAP6.x Logging</title>
<para>
Accessing the admin console will get these annoying log messages:
</para>
<programlisting> <programlisting>
WARN [org.jboss.resteasy.core.ResourceLocator] (http-/127.0.0.1:8080-3) WARN [org.jboss.resteasy.core.ResourceLocator] (http-/127.0.0.1:8080-3)
Field providers of subresource xxx will not be injected according to spec Field providers of subresource xxx will not be injected according to spec
</programlisting> </programlisting>
<para> <para>
These can be ignored by editing standalone.xml of your jboss installation: These can be ignored by editing standalone.xml of your jboss installation:
</para> </para>
<programlisting> <programlisting>
<![CDATA[ <![CDATA[
<logger category="org.jboss.resteasy.core.ResourceLocator"> <logger category="org.jboss.resteasy.core.ResourceLocator">
@ -410,7 +452,9 @@ keycloak-war-dist-all-&project.version;/
</logger> </logger>
]]> ]]>
</programlisting> </programlisting>
</section>
</section> </section>
<section id="ssl_modes"> <section id="ssl_modes">
<title>SSL/HTTPS Requirement/Modes</title> <title>SSL/HTTPS Requirement/Modes</title>
<warning> <warning>