[keycloak-user] Custom SPI does not appear in list
Stian Thorgersen
sthorger at redhat.com
Mon Oct 7 03:46:26 EDT 2019
module deployment like you've done is what I referred to by the old school
deployment approach. So what you're doing looks about right.
Do you only get the NPE below when you include your module? Is your
standalone.xml in sync with the latest release or perhaps it's missing
something?
On Mon, 7 Oct 2019, 08:44 John Norris, <johnnorris-10 at outlook.com> wrote:
> I think I may have the same problem.
> I have updated standalone.xml
>
> <subsystem xmlns="urn:jboss:domain:keycloak-server:1.1">
> <web-context>auth</web-context>
> <providers>
> <provider>classpath:${jboss.home.dir}/providers/*</provider>
> <!-- this is the line I have added -->
> <provider>module:org/softwarefactory/keycloak/mqtt</provider>
> </providers>
>
> and when I run standalone.sh, I get
>
> 16:24:40,028 ERROR [org.jboss.as.controller.management-operation]
> (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address:
> ([("subsystem" => "microprofile-metrics-smallrye")]):
> java.lang.NullPointerException
> at org.wildfly.extension.microprofile.metrics-smallrye at 16.0.0.Final
> //org.wildfly.extension.microprofile.metrics.MicroProfileMetricsSubsystemAdd$2.execute(MicroProfileMetricsSubsystemAdd.java:86)
>
> So two questions.
> Can I remove microprofile-metrics-smallrye from standalone.xml?
> What is the old school module deployment - I basically followed 6.2.2 in
> Server Developer docs.
>
> Regards,
> John
>
> ------ Original Message ------
> From: "Stian Thorgersen" <sthorger at redhat.com>
> To: "Alfonso Vidal García" <avidal at gmv.com>
> Cc: "keycloak-user" <keycloak-user at lists.jboss.org>
> Sent: 07/10/2019 07:30:09
> Subject: Re: [keycloak-user] Custom SPI does not appear in list
>
> Deployments in standalone/deployments doesn't currently support deploying
> SPIs. You need to use the old-school module deployment approach for that.
>
>
>
More information about the keycloak-user
mailing list