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

JCA distributed work manager doesn't allow to add more than one

    XMLWordPrintable

    Details

      Description

      There is an error trying to add a 2nd JCA distributed work manager.

      [standalone@localhost:9990 /] batch
      [standalone@localhost:9990 / #] /subsystem=jca/distributed-workmanager=dwm2:add(name=dwm2)
      [standalone@localhost:9990 / #] /subsystem=jca/distributed-workmanager=dwm2/short-running-threads=dwm2:add(max-threads=11,queue-length=22)
      [standalone@localhost:9990 / #] run-batch
      The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):
      WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
      Step: step-1
      Operation: /subsystem=jca/distributed-workmanager=dwm2:add(name=dwm2)
      Failure: WFLYCTL0436: Cannot register capability
      'org.wildfly.connector.workmanager' at location '[
          ("subsystem" => "jca"),
          ("distributed-workmanager" => "dwm2")
      ]' as it is already registered in context 'global' at location(s) '[[
          ("subsystem" => "jca"),
          ("distributed-workmanager" => "dwm1")
      ]]'
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              maeste Stefano Maestri
              Reporter:
              claudio4j Claudio Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: