[keycloak-user] deployment issue for custom SPI in keycloak

Manisha Nandal manisha04.nandal at gmail.com
Thu Dec 6 23:04:04 EST 2018


Hi,

We are facing issues with custom spi deployment in keycloak. There are two
different strategy that can be used for custom development

1. place jar in module directory and make an entry in standalone.xml ,
say *<provider>module:module_name</provider>
*

2. place jar in providers directory, no change needed in standalone.xml (we
already have * <provider>classpath:${jboss.home.dir}/providers/*</provider>*
)
first strategy works fine but modification in standalone.xml needed.  We
want to use the second  strategy but it gives us errors for some of the
classes
like
[*0m[31m04:35:56,275 ERROR
[org.keycloak.services.error.KeycloakErrorHandler] (default task-59)
Uncaught server error: java.lang.NoClassDefFoundError: org/infinispan/Cache
*

Any idea , how can we fix this?

Thanks,
'Manisha


More information about the keycloak-user mailing list