Details
-
Bug
-
Resolution: Done
-
Major
-
17.0.0.Alpha1
-
None
Description
This is a consequence of a bug introduced in WFLY-11747
JCA root definition is using the setCapabilities method twice:
private JcaSubsystemRootDefinition(final boolean registerRuntimeOnly) { super(new Parameters(PATH_SUBSYSTEM, JcaExtension.getResourceDescriptionResolver()) .setAddHandler(JcaSubsystemAdd.INSTANCE) .setRemoveHandler(JcaSubSystemRemove.INSTANCE) .setCapabilities(JCA_NAMING_CAPABILITY) .setCapabilities(TRANSACTION_INTEGRATION_CAPABILITY) ); this.registerRuntimeOnly = registerRuntimeOnly; }
That means JCA_NAMING_CAPABILITY is being overwritten by TRANSACTION_INTEGRATION_CAPABILITY , so this requirement is lost.