Description
Customer migrating to 7.4.x with standalone.xml based on 7.3.x 's default configuration is getting error
Caused by: org.jboss.modules.ModuleNotFoundException: org.wildfly.extension.microprofile.config-smallrye
Reason is Technical Preview microprofile subsystems were moved from Base to XP in EAP 7.4.0 GA. E.g. https://issues.redhat.com/browse/EAP7-1569.
Workarounds:
- Customer can remove microprofile subsystems manually
33,36d32 < <extension module="org.wildfly.extension.microprofile.config-smallrye"/> < <extension module="org.wildfly.extension.microprofile.health-smallrye"/> < <extension module="org.wildfly.extension.microprofile.metrics-smallrye"/> < <extension module="org.wildfly.extension.microprofile.opentracing-smallrye"/> 417,420d412 < <subsystem xmlns="urn:wildfly:microprofile-config-smallrye:1.0"/> < <subsystem xmlns="urn:wildfly:microprofile-health-smallrye:2.0" security-enabled="false" empty-liveness-checks-status="${env.MP_HEALTH_EMPTY_LIVENESS_CHECKS_STATUS:UP}" empty-readiness-checks-status="${env.MP_HEALTH_EMPTY_READINESS_CHECKS_STATUS:UP}"/> < <subsystem xmlns="urn:wildfly:microprofile-metrics-smallrye:2.0" security-enabled="false" exposed-subsystems="*" prefix="${wildfly.metrics.prefix:jboss}"/> < <subsystem xmlns="urn:wildfly:microprofile-opentracing-smallrye:1.0"/>
- According to emartins@redhat.com migration tool is able to remove it
- https://issues.redhat.com/browse/JBEAP-22411 was created to cover it in Migration Guide
I am creating this jira to evaluate properly if this migration step can be done automatically by server, so EAP 7.4 Base ignore (and drop) those subsystems (but EAP XP use those subsystems).