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

short-running-threads requirement should be verified when distributed workmanager is required

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 15.0.0.Beta1, 15.0.0.Final
    • None
    • JCA
    • None

    Description

      A distributed-workmanager is allowed to remove its short-running-threads, but it is a required resource to a dwm and once the short-running-threads, Wildfly fails to start the dwm.

      To add a distributed-workmanager:

      batch
      /subsystem=jca/distributed-workmanager=dwm1:add(name=dwm1)
      /subsystem=jca/distributed-workmanager=dwm1/short-running-threads=dwm1:add(max-threads=11,queue-length=22)
      run-batch
      

      Remove the short-running-threads

       /subsystem=jca/distributed-workmanager=dwm1/short-running-threads=dwm1:remove()
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      

      Then Wildfly fails to reload the dwm

      12:31:34,497 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "jca"),
          ("distributed-workmanager" => "dwm1")
      ]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => ["jboss.thread.executor.short-running-threads.dwm1"],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.connector.workmanager.dwm1 is missing [jboss.thread.executor.short-running-threads.dwm1]"]
      }
      

      Attachments

        Issue Links

          Activity

            People

              smaestri@redhat.com Stefano Maestri
              cmiranda@redhat.com Claudio Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: