[keycloak-user] wildfly-adapter install over wildfly 9

Pedro Igor Silva psilva at redhat.com
Thu Nov 30 09:20:53 EST 2017


You can do the same thing you did before but for
*${JBOSS_HOME}/modules/system/add-ons/keycloak/org/keycloak/*
*keycloak-wildfly-elytron-oidc-adapter/main/module.xml.*

I did some tests with WF9 and it seems this is the last thing you need to
do ...

On Thu, Nov 30, 2017 at 11:52 AM, philippe ventrillon <
philippe.ventrillon at actility.com> wrote:

> Thank you for your help
>
>
> I've set optional="true" as you suggested. It worked smoothly as long as
> adapter install was concerned.
>
> Unfortunately when i try to deploy  my war I get an exception :
>
> Failed to define class org.keycloak.adapters.elytron.
> KeycloakConfigurationServletListener in Module "org.keycloak.keycloak-
> wildfly-elytron-oidc-adapter:main" from local module loader @45283ce2
> (finder: local module finder @2077d4de (roots: C:\java\wildfly-9.0.2.Final-
> withKc\modules,C:\java\wildfly-9.0.2.Final-withKc\
> modules\system\layers\base,C:\java\wildfly-9.0.2.Final-
> withKc\modules\system\add-ons\keycloak)): org.jboss.modules.ModuleLoadError:
> org.wildfly.security.elytron:main
>
>
> Do you have more ideas ?
>
>
> Regards
>
>
>
> On 30/11/2017 12:33, Pedro Igor Silva wrote:
>
> Could you try to change
> *${JBOSS_HOME}/modules/system/add-ons/keycloak/org/keycloak/keycloak-wildfly-subsystem/main/module.xml*
> to mark *org.wildfly.security.elytron* dependency as optional. After your
> changes the dependency should look like this:
>
>     <module name="org.wildfly.security.elytron" *optional="true"* />
>
>
> --
> Philippe Ventrillon / Software architect
> [image: Actility]
> ---
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uc.png
Type: image/png
Size: 4853 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20171130/92db9733/attachment.png 


More information about the keycloak-user mailing list