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@16.0.0.Final<mailto:org.wildfly.extension.microprofile.metrics-smallrye@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@redhat.com<mailto:sthorger@redhat.com>>
To: "Alfonso Vidal GarcĂa" <avidal@gmv.com<mailto:avidal@gmv.com>>
Cc: "keycloak-user"
<keycloak-user@lists.jboss.org<mailto:keycloak-user@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.