Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8184

ProcessStateListener execution isn't cancelled when timeout is reached

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR11
    • 7.1.0.DR10
    • Management
    • None

      Analysis document for listener for lifecycle server events says that there is management attribute timeout which is described:

      timeout - a timeout in seconds before cancelling the execution of the listener.

      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 needs to cancel Future in TimeoutException catch block

              ehugonne1@redhat.com Emmanuel Hugonnet
              msimka@redhat.com Martin Simka
              Martin Simka Martin Simka
              Martin Simka Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: