Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11966

Capability requirements declared twice in JCA root resource definition

    Details

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                yersan Yeray Borges
                Reporter:
                yersan Yeray Borges
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: