[jboss-jira] [JBoss JIRA] (WFLY-11108) short-running-threads requirement should be verified when distributed workmanager is required

Stefano Maestri (Jira) issues at jboss.org
Thu Oct 4 05:12:00 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-11108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642991#comment-13642991 ] 

Stefano Maestri commented on WFLY-11108:
----------------------------------------

I'm not enforcing the short running requirement, but just moving the requirement on dwm start moving dwm service to ON_DEMAND. This is how also (non distributed) wm works and I think it's better to don't change a behaviour we have since JBOss AS7 making also DWM workinng in the same way


> short-running-threads requirement should be verified when distributed workmanager is required
> ---------------------------------------------------------------------------------------------
>
>                 Key: WFLY-11108
>                 URL: https://issues.jboss.org/browse/WFLY-11108
>             Project: WildFly
>          Issue Type: Bug
>          Components: JCA
>            Reporter: Claudio Miranda
>            Assignee: Stefano Maestri
>            Priority: Major
>
> 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