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

After removing a resource through the CLI, one with the same name can not be added

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Final
    • 8.2.0.Final
    • None
    • None
    • Hide

      The easiest way to repeat this is to open the web console for Wildfly.

      Go to the Configuration tab, expand Security and click on Security Domains.

      Click the Add button and use the name "test"

      "test" will show up as a security domain in the list.

      Select "test" and click the Remove button.

      "Test" will be removed from the list

      Click the Add button again and enter the same name "test"

      At this point, a general error is displayed and the above exception is shown in the Wildfly server log.

      Show
      The easiest way to repeat this is to open the web console for Wildfly. Go to the Configuration tab, expand Security and click on Security Domains. Click the Add button and use the name "test" "test" will show up as a security domain in the list. Select "test" and click the Remove button. "Test" will be removed from the list Click the Add button again and enter the same name "test" At this point, a general error is displayed and the above exception is shown in the Wildfly server log.

      If a resource (tested with a datasource and a security domain) is removed using the CLI, a new resource (of the same type) with the same name can not be added. The CLI shows the resource as removed, but an error will always be returned to the caller indicating that the resource already exists. In the Wildfly server log, you see a DuplicateServiceException.

              yborgess1@redhat.com Yeray Borges Santana
              daveaf David Frank (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: