[keycloak-user] Keycloak 5.0.0 and Java 11?

Ryan Slominski ryans at jlab.org
Wed Mar 27 09:25:16 EDT 2019


JIRA Issue Ticket Created:

https://issues.jboss.org/browse/KEYCLOAK-9923
________________________________
From: Vlasta Ramik <vramik at redhat.com>
Sent: Wednesday, March 27, 2019 9:14 AM
To: Ryan Slominski; keycloak-user
Subject: Re: [keycloak-user] Keycloak 5.0.0 and Java 11?

Hey Ryan,

I believe it's a bug and should be fixed in futere releases, would you
mind to create a ticket to https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.jboss.org%2Fbrowse%2FKEYCLOAK&amp;data=02%7C01%7Cryans%40jlab.org%7C26602c7f113e437b5f1308d6b2b624c1%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C0%7C636892892710998767&amp;sdata=0hr%2Bd278971gJpfG%2Fu9ZofCe8LhJMJWxnJP8%2FOEzrok%3D&amp;reserved=0 ?

Thanks,

V.

On 3/26/19 5:26 PM, Ryan Slominski wrote:
> I'm attempting to use Keycloak 5.0.0 and OpenJDK 11.0.2 on RHEL 7.6, but encountering an error executing the bin/add-user-keycloak.sh script:
>
> [root at keycloaktest bin]# ./add-user-keycloak.sh -u admin
> org.jboss.modules.ModuleNotFoundException: java.se
>          at org.jboss.modules.Module.addPaths(Module.java:1266)
>          at org.jboss.modules.Module.link(Module.java:1622)
>          at org.jboss.modules.Module.relinkIfNecessary(Module.java:1650)
>          at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:296)
>          at org.jboss.modules.Main.main(Main.java:437)
> [root at keycloaktest bin]# export JAVA_OPTS="--add-modules java.se"
> [root at keycloaktest bin]# echo $JAVA_OPTS
> --add-modules java.se
> [root at keycloaktest bin]# ./add-user-keycloak.sh -u admin
> Press ctrl-d (Unix) or ctrl-z (Windows) to exit
> Password:
> Added 'admin' to '/opt/wildfly/keycloak-5.0.0/standalone/configuration/keycloak-add-user.json', restart server to load user
> [root at keycloaktest bin]#
>
> I found the workaround here:
>
> https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.jboss.org%2Fbrowse%2FWFCORE-3962&amp;data=02%7C01%7Cryans%40jlab.org%7C26602c7f113e437b5f1308d6b2b624c1%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C0%7C636892892710998767&amp;sdata=5XJKz2Utfip4JQo6yuusH3CzH3%2BUb%2BOmrl4puHs6ZXU%3D&amp;reserved=0
>
> and here:
>
> https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.jboss.org%2Fbrowse%2FMODULES-372&amp;data=02%7C01%7Cryans%40jlab.org%7C26602c7f113e437b5f1308d6b2b624c1%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C0%7C636892892711008781&amp;sdata=Fxv2Ywf61R2Cr%2FqP6dT3sASQq4DPdpB%2FgHQmb9R7tsU%3D&amp;reserved=0
>
> Is this simply an oversight with the add-user-keycloak.sh script and will be fixed in a future release?
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.jboss.org%2Fmailman%2Flistinfo%2Fkeycloak-user&amp;data=02%7C01%7Cryans%40jlab.org%7C26602c7f113e437b5f1308d6b2b624c1%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C0%7C636892892711008781&amp;sdata=gvFtFdNvXGf2xuL0KnpPm%2F2kvmGnrHDVAUZ9eJNlSzM%3D&amp;reserved=0


More information about the keycloak-user mailing list