[keycloak-dev] Error loading KeycloakHotRodMarshallerFactory

Adrien DESBIAUX adesbiaux at vente-privee.com
Mon May 7 15:45:56 EDT 2018


Hi Marek,


Many thanks for your reply.


Yes, I did add it. I followed the documentation. The HA mode looks like not throwing the error. However Domain mode does not go through successfully.


Cheers,


________________________________
From: Marek Posolda <mposolda at redhat.com>
Sent: Monday, May 7, 2018 6:29:12 PM
To: Adrien DESBIAUX; keycloak-dev at lists.jboss.org
Subject: Re: [keycloak-dev] Error loading KeycloakHotRodMarshallerFactory

Hi,

did you added module="org.keycloak.keycloak-model-infinispan" to the cache-container element?

Thanks,
Marek

Dne 7.5.2018 v 13:47 Adrien DESBIAUX napsal(a):

Hello,


I am facing an issue in regards to launching Keycloak 3.4 in Domain mode with an external Infinispan cluster.


I following error is thrown:


Caused by: java.lang.ClassNotFoundException:
org.keycloak.cluster.infinispan.KeycloakHotRodMarshallerFactory from
[Module "org.wildfly.clustering.service" from local module loader @7a0ac6e3
(finder: local module finder @71be98f5 (roots:
/opt/jboss/keycloak-3.4.3.Final/modules,/opt/jboss/keycloak-3.4.3.Final/modules/system/layers/keycloak,/opt/jboss/keycloak-3.4.3.Final/modules/system/layers/base))]



I don't get this error when using the standalone-ha mode.


Did you test the Multi datacenter configurationh with the domain mode already?

https://www.keycloak.org/docs/latest/server_installation/index.html#_domain-mode<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.keycloak.org_docs_latest_server-5Finstallation_index.html-23-5Fdomain-2Dmode&d=DwMCBA&c=8G9fL-FODW3I-fESjFvsaw&r=BhQIS0sALperhBRJRNzxM3Ax9g4k8rNIuzNmM35TMgE&m=E6ag0T-DzObYdPYCtSCwXoToEHwPNNWsJvwBfHnYr-I&s=K4hndq68LPCodJn72jUUJWqG-wINIVk-8GRxEzlG2CM&e=>

Guide Overview - Keycloak<https://www.keycloak.org/docs/latest/server_installation/index.html#_domain-mode><https://urldefense.proofpoint.com/v2/url?u=https-3A__www.keycloak.org_docs_latest_server-5Finstallation_index.html-23-5Fdomain-2Dmode&d=DwMCBA&c=8G9fL-FODW3I-fESjFvsaw&r=BhQIS0sALperhBRJRNzxM3Ax9g4k8rNIuzNmM35TMgE&m=E6ag0T-DzObYdPYCtSCwXoToEHwPNNWsJvwBfHnYr-I&s=K4hndq68LPCodJn72jUUJWqG-wINIVk-8GRxEzlG2CM&e=>
www.keycloak.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.keycloak.org&d=DwMCBA&c=8G9fL-FODW3I-fESjFvsaw&r=BhQIS0sALperhBRJRNzxM3Ax9g4k8rNIuzNmM35TMgE&m=E6ag0T-DzObYdPYCtSCwXoToEHwPNNWsJvwBfHnYr-I&s=8_QBcClBGSsK2-lenhcIi_HV765LUnQrn8y-saQ8sXY&e=>
The purpose of this guide is to walk through the steps that need to be completed prior to booting up the Keycloak server for the first time. If you just want to test drive Keycloak, it pretty much runs out of the box with its own embedded and local-only database.


Why would be the class KeycloakHotRodMarshallerFactory not correctly loaded in domain mode?

I will keep searching but would be happy if some of you would have time to share their opinion on this.



Thank you in advance for your direction.



_______________________________________________
keycloak-dev mailing list
keycloak-dev at lists.jboss.org<mailto:keycloak-dev at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-dev<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.jboss.org_mailman_listinfo_keycloak-2Ddev&d=DwMCBA&c=8G9fL-FODW3I-fESjFvsaw&r=BhQIS0sALperhBRJRNzxM3Ax9g4k8rNIuzNmM35TMgE&m=E6ag0T-DzObYdPYCtSCwXoToEHwPNNWsJvwBfHnYr-I&s=jc5XUpKZ1kRnLPv5V6gvFX8l3VuKXXY0Ugpr31G0aZk&e=>




More information about the keycloak-dev mailing list