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

datasources subsystem should not depend on legacy security subsystem

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Done
    • None
    • 11.0.0.Alpha1
    • JCA
    • None

    Description

      After removing the legacy security subsystem and booting the server, you see

      11:31:07,203 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "datasources"),
          ("data-source" => "ExampleDS")
      ]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => [
              "jboss.security.subject-factory",
              "jboss.security.simple-security-manager"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.data-source.ExampleDS is missing [jboss.security.simple-security-manager, jboss.security.subject-factory]"]
      }
      11:31:07,207 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "datasources"),
          ("data-source" => "ExampleDS")
      ]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => [
              "jboss.security.subject-factory",
              "jboss.security.simple-security-manager",
              "jboss.security.subject-factory",
              "jboss.security.simple-security-manager"
          ],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => [
              "org.wildfly.data-source.ExampleDS is missing [jboss.security.simple-security-manager, jboss.security.subject-factory]",
              "org.wildfly.data-source.ExampleDS is missing [jboss.security.simple-security-manager, jboss.security.subject-factory]"
          ]
      }
      

      Which means that datasources subsystem requires functionality of the legacy security subsystem. It should be possible to completely get rid of the legacy subsystem and work with just Elytron.

      Attachments

        Issue Links

          Activity

            People

              smaestri@redhat.com Stefano Maestri
              smaestri@redhat.com Stefano Maestri
              Martin Simka Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: