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

Cannot reliably reinstall service with same name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • MSC
    • None

      There seems to be an undefined "cleanup period" needed, before a service with the same name can be installed successfully. If you do the below in the same thread it will always fail (I believe).

      controller.setMode(Mode.REMOVE)
      serviceTarget.addService(controller.getName(), service).install()
      

              dlloyd@redhat.com David Lloyd
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: