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

Hard coded dependencies from resource adapters to legacy security sercvies.

    Details

      Description

      A resource adapter defined similar to:
       

                  <resource-adapters>
                      <resource-adapter id="myrar.rar">
                          <archive>
                              myrar.rar
                          </archive>
                          <connection-definitions>
                              <connection-definition class-name="org.wildfly.test.MyRar" pool-name="connection-definition"/>
                          </connection-definitions>
                      </resource-adapter>
                  </resource-adapters>
      

      Leads to an error:

      13:48:11,932 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "resource-adapters"),
          ("resource-adapter" => "myrar.rar"),
          ("connection-definitions" => "connection-definition")
      ]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => [
              "jboss.security.subject-factory",
              "jboss.security.simple-security-manager"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.resourceadapters.ra.\"myrar.rar\".connection-definition is missing [jboss.security.simple-security-manager, jboss.security.subject-factory]"]
      }
      
      

      Resources should not depend on legacy security by default as it may not be there.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dlofthouse Darran Lofthouse
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: