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

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

    XMLWordPrintable

Details

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

    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

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

              Dates

                Created:
                Updated:
                Resolved: