JIRA Issue Ticket Created:
https://issues.jboss.org/browse/KEYCLOAK-9923
________________________________
From: Vlasta Ramik <vramik(a)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....
?
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@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@keycloaktest bin]# export JAVA_OPTS="--add-modules java.se"
[root@keycloaktest bin]# echo $JAVA_OPTS
--add-modules java.se
[root@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@keycloaktest bin]#
I found the workaround here:
https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues....
and here:
https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues....
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(a)lists.jboss.org
https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.j...