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

Single sign-on removal does not remove all installed services.

    XMLWordPrintable

Details

    Description

      I'm running into a problem with SSO manager installer service. When I remove the sso setting from host config using allow-resource-service-restart=true and try to add it again without reload I'm get a failure:

      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=test-host/setting=single-sign-on:add
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=test-host/setting=single-sign-on:remove{allow-resource-service-restart=true}
      {"outcome" => "success"}
      [standalone@localhost:9990 /] /subsystem=undertow/server=default-server/host=test-host/setting=single-sign-on:add
      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0158: Operation handler failed: org.jboss.msc.service.
      DuplicateServiceException: Service jboss.undertow.server.default-server.test-host.single-si
      gn-on.manager.installer is already registered",
          "rolled-back" => true
      }
      

      It looks like the installer service is created every time DistributableSingleSignOnManagerServiceConfigurator is build, but never removed.

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: