[jboss-jira] [JBoss JIRA] (WFLY-11108) Enforce the short-running-threads requirement to a distributed workmanager

Claudio Miranda (Jira) issues at jboss.org
Wed Oct 3 12:14:00 EDT 2018


Claudio Miranda created WFLY-11108:
--------------------------------------

             Summary: Enforce the short-running-threads requirement to a distributed workmanager
                 Key: WFLY-11108
                 URL: https://issues.jboss.org/browse/WFLY-11108
             Project: WildFly
          Issue Type: Bug
          Components: JCA
            Reporter: Claudio Miranda
            Assignee: Stefano Maestri


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:

{code}
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
{code}

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

Then Wildfly fails to reload the dwm

{code}
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]"]
}
{code}



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


More information about the jboss-jira mailing list