-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 17.0.0.Alpha1
-
Fix Version/s: 17.0.0.Alpha1, 17.0.0.Final
-
Component/s: JCA
-
Labels:None
-
Git Pull Request:
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.