[keycloak-dev] Hot reload JBoss modules
Adrian Gonzalez
adr_gonzalez at yahoo.fr
Tue Feb 6 16:09:56 EST 2018
Hello,
I developed a little Spi (org.keycloak.provider.Spi).
I tried to deploy it the usual way (mvn clean install wildfly:deploy), but it doesn't work.I need to deploy it as a JBoss module.
Is there a way to avoid restarting JBoss when redepoying a JBoss module ?
For the moment, I'm doing:
```mvn clean package$KEYCLOAK_HOME/bin/jboss-cli.sh --command="module remove --name=org.gonzalad.keycloak.idp.idp-service"$KEYCLOAK_HOME/bin/jboss-cli.sh --command="module add --name=org.gonzalad.keycloak.idp.idp-service --resources=target/idp-service-0.0.1-SNAPSHOT.jar --dependencies=javax.ws.rs.api,javax.persistence.api,org.hibernate,org.javassist,org.keycloak.keycloak-core,org.keycloak.keycloak-server-spi,org.keycloak.keycloak-server-spi-private,org.keycloak.keycloak-services,org.keycloak.keycloak-model-jpa,org.jboss.logging"$KEYCLOAK_HOME/bin/standalone.sh --debug```
Thanks,Adrian
More information about the keycloak-dev
mailing list