[jboss-jira] [JBoss JIRA] (WFCORE-1467) Servers are suspended two times using timeout parameter in domain mode

Yeray Santana Borges (JIRA) issues at jboss.org
Wed Apr 6 18:32:00 EDT 2016


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

Yeray Santana Borges commented on WFCORE-1467:
----------------------------------------------

Ohh, correct, I didn't see it before, sadly it is being multiplied two times; once in DomainServerLifecycleHandlers#SuspendServersLifecycleHandler and the other in ServerSuspendHandler#execute

Is it necesary a new issue to resolve it?

> Servers are suspended two times using timeout parameter in domain mode
> ----------------------------------------------------------------------
>
>                 Key: WFCORE-1467
>                 URL: https://issues.jboss.org/browse/WFCORE-1467
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Yeray Santana Borges
>            Assignee: Yeray Santana Borges
>
> In a domain mode :suspend-servers command with a timeout parameter different than 0 executes two suspend operations for each server in the domain. It first executes a suspend with 0ms and later a suspend with the timeout specified.
> How to reproduce it:
> {code}
> [domain at localhost:9990 /] :suspend-servers(timeout=10)
> {code}
> Server log traces show:
> {code}
> [Server:server-one] 20:14:40,126 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 8) WFLYSRV0211: Suspending server with 0ms timeout.
> [Server:server-one] 20:14:40,135 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 8) WFLYSRV0211: Suspending server with 10000000ms timeout.
> {code}
> Expected traces are:
> {code}
> [Server:server-one] 20:14:40,135 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 8) WFLYSRV0211: Suspending server with 10000000ms timeout.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list