[jboss-jira] [JBoss JIRA] (WFCORE-2176) ProcessStateListener execution isn't cancelled when timeout is reached

ehsavoie Hugonnet (JIRA) issues at jboss.org
Tue Jan 10 12:55:00 EST 2017


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

ehsavoie Hugonnet moved JBEAP-8194 to WFCORE-2176:
--------------------------------------------------

              Project: WildFly Core  (was: JBoss Enterprise Application Platform)
                  Key: WFCORE-2176  (was: JBEAP-8194)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: Domain Management
                           (was: Domain Management)
    Affects Version/s: 3.0.0.Alpha16
                           (was: 7.1.0.DR10)


> ProcessStateListener execution isn't cancelled when timeout is reached
> ----------------------------------------------------------------------
>
>                 Key: WFCORE-2176
>                 URL: https://issues.jboss.org/browse/WFCORE-2176
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 3.0.0.Alpha16
>            Reporter: ehsavoie Hugonnet
>            Assignee: ehsavoie Hugonnet
>
> [Analysis document|https://developer.jboss.org/wiki/DevAnalysisForListenerForLifecycleServerEvents] for listener for lifecycle server events says that there is management attribute {{timeout}} which is described: 
> {quote}
> timeout - a timeout in seconds before cancelling the execution of the listener.
> {quote}
> But execution of {{runtimeConfigurationStateChanged}} and {{runningStateChanged}} methods isn't cancelled when timeout is reached. {{java.util.concurrent.TimeoutException}} is correctly logged. 
> It seems to me that [ProcessStateListenerService.java#L176|https://github.com/wildfly/wildfly-core/blob/master/core-management/core-management-subsystem/src/main/java/org/wildfly/extension/core/management/ProcessStateListenerService.java#L176] needs to cancel {{Future}} in {{TimeoutException}} catch block



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


More information about the jboss-jira mailing list