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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              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:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: