Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9557

Pending long-polling requests are not rejected properly on server shutdown

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.10.0, 7.9.6, 7.11.0
    • Fix Version/s: 7.11.0, 7.10.2, 7.9.9, 7.11.0-alpha1
    • Component/s: engine
    • Labels:
      None

      Description

      Steps to reproduce

      1. There exist pending long-polling requests which haven't been completed yet
      2. The application server is shutdown

      Observed behavior

      • The server sends a response to the pending long-polling requests with status code 500
      • The following exception is thrown and written to the server log:
        java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.camunda.bpm.engine.rest.exception.ExceptionHandlerHelper].

      Expected behavior

      • The server sends a response to the pending long-polling requests with status code 400
      • No exception is thrown

        Activity

        tassilo.weidner Tassilo Weidner created issue -
        tassilo.weidner Tassilo Weidner made changes -
        Field Original Value New Value
        Description *Steps to reproduce*
        # There exist pending long-polling requests which haven't been completed yet
        # The application server is shutdown

        *Observed behavior*
        * The server sends a response to the pending long-polling requests with status code 500
        * The following exception is thrown and written to the server log: {noformat}java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.camunda.bpm.engine.rest.exception.ExceptionHandlerHelper].{noformat}. Please also see the attached stacktrace.

        *Expected behavior*
        * The server sends a response to the pending long-polling requests with status code 400
        * No exception is thrown
        *Steps to reproduce*
        # There exist pending long-polling requests which haven't been completed yet
        # The application server is shutdown

        *Observed behavior*
        * The server sends a response to the pending long-polling requests with status code 500
        * The following exception is thrown and written to the server log: {noformat}java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [org.camunda.bpm.engine.rest.exception.ExceptionHandlerHelper].{noformat}

        *Expected behavior*
        * The server sends a response to the pending long-polling requests with status code 400
        * No exception is thrown
        tassilo.weidner Tassilo Weidner made changes -
        Affects Version/s 7.11.0 [ 15343 ]
        karin.hollstein Karin Hollstein made changes -
        Link This issue is depended on by SUPPORT-5110 [ SUPPORT-5110 ]
        roman.smirnov Smirnov Roman made changes -
        Remote Link This issue links to "Page (camunda confluence)" [ 12387 ]
        roman.smirnov Smirnov Roman made changes -
        Assignee Tassilo Weidner [ tassilo.weidner ]
        roman.smirnov Smirnov Roman made changes -
        Fix Version/s 7.9.x [ 15107 ]
        Fix Version/s 7.10.x [ 15312 ]
        Fix Version/s 7.11.0 [ 15343 ]
        tassilo.weidner Tassilo Weidner made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        tassilo.weidner Tassilo Weidner made changes -
        Fix Version/s 7.10.2 [ 15351 ]
        Fix Version/s 7.9.9 [ 15352 ]
        Fix Version/s 7.9.x [ 15107 ]
        Fix Version/s 7.10.x [ 15312 ]
        tassilo.weidner Tassilo Weidner made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Original Estimate 0 minutes [ 0 ]
        Remaining Estimate 0 minutes [ 0 ]
        Assignee Tassilo Weidner [ tassilo.weidner ] Yana Vasileva [ yana.vasileva ]
        Resolution Fixed [ 1 ]
        yana.vasileva Yana Vasileva made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        thorben.lindhauer Thorben Lindhauer made changes -
        Fix Version/s 7.11.0-alpha1 [ 15370 ]
        thorben.lindhauer Thorben Lindhauer made changes -
        Workflow camunda BPM [ 53969 ] Backup_camunda BPM [ 64162 ]
        thorben.lindhauer Thorben Lindhauer made changes -
        Remote Link This issue links to "Page (camunda confluence)" [ 12387 ]

          People

          • Assignee:
            yana.vasileva Yana Vasileva
            Reporter:
            tassilo.weidner Tassilo Weidner
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development