[jboss-jira] [JBoss JIRA] (WFLY-11104) JCA distributed work manager doesn't allow to add more than one

Claudio Miranda (Jira) issues at jboss.org
Tue Oct 2 12:42:00 EDT 2018


Claudio Miranda created WFLY-11104:
--------------------------------------

             Summary: JCA distributed work manager doesn't allow to add more than one
                 Key: WFLY-11104
                 URL: https://issues.jboss.org/browse/WFLY-11104
             Project: WildFly
          Issue Type: Bug
          Components: JCA
            Reporter: Claudio Miranda
            Assignee: Stefano Maestri


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

{code}
[standalone at localhost:9990 /] batch
[standalone at localhost:9990 / #] /subsystem=jca/distributed-workmanager=dwm2:add(name=dwm2)
[standalone at localhost:9990 / #] /subsystem=jca/distributed-workmanager=dwm2/short-running-threads=dwm2:add(max-threads=11,queue-length=22)
[standalone at 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")
]]'
{code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list