[jboss-jira] [JBoss JIRA] (WFCORE-3008) Server started with blocking=true times out only on a slave host

Brian Stansberry (JIRA) issues at jboss.org
Mon Jun 26 09:54:00 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry moved WFLY-8994 to WFCORE-3008:
------------------------------------------------

              Project: WildFly Core  (was: WildFly)
                  Key: WFCORE-3008  (was: WFLY-8994)
          Component/s: Domain Management
                           (was: Domain Management)
    Affects Version/s: 2.2.0.Final
                           (was: 10.1.0.Final)


> Server started with blocking=true times out only on a slave host
> ----------------------------------------------------------------
>
>                 Key: WFCORE-3008
>                 URL: https://issues.jboss.org/browse/WFCORE-3008
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 2.2.0.Final
>            Reporter: Osamu Nagano
>            Assignee: Brian Stansberry
>         Attachments: repro.zip
>
>
> We use system property {{jboss.as.management.blocking.timeout}} for a slow starting server to avoid a timeout on startup. It works for a server on the master host-controller but doesn't work a server on a slave host.
> Suppose a heavy application, for example, sleeping more than 300 seconds in {{ServletContext#contextInitialized()}}, is deployed and system property {{jboss.as.management.blocking.timeout}} is set in domain.xml to avoid timeout. Under the following domain configuration, {{server-one}} fails to start if {{blocking=true}} is specified.
> * master
> ** server-zero:start(blocking=true) => Success
> * slave
> ** server-one:start(blocking=true) => Fail
> {code}
> [domain at localhost:9990 /] /host=slave/server-config=server-one:start(blocking=true)
> {
>     "outcome" => "failed",
>     "result" => undefined,
>     "failure-description" => "WFLYCTL0409: Execution of operation 'start' on remote process at address '[(\"host\" => \"slave\")]' timed out after 305000 ms while awaiting initial response; remote process has been notified to terminate operation",
>     "rolled-back" => true
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list