ICEpush
  1. ICEpush
  2. PUSH-316

REGRESSION: IllegalStateException when blocking connection is idling

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02
    • Fix Version/s: EE-3.3.0.GA_P02
    • Component/s: Push Library, Push Server
    • Labels:
      None
    • Environment:
      Tomcat 7.0.54, ActiveMQ 5.1.0, ICEfaces, ICEpush, EPS

      Description

      I deployed EPS and Poll to a stand-alone environment of Tomcat and ActiveMQ and letting the blocking connection idle results into an IllegalStateException:

      May 27, 2014 2:32:07 PM org.icepush.BlockingConnectionServer run
      WARNING: Exception caught on org.icepush.BlockingConnectionServer TimerTask.
      java.lang.RuntimeException: java.lang.IllegalStateException: The request associated with the AsyncContext has already completed processing.
              at org.icepush.BlockingConnectionServer.respondIfPendingRequest(BlockingConnectionServer.java:180)
              at org.icepush.BlockingConnectionServer.run(BlockingConnectionServer.java:109)
              at java.util.TimerThread.mainLoop(Timer.java:512)
              at java.util.TimerThread.run(Timer.java:462)
      Caused by: java.lang.IllegalStateException: The request associated with the AsyncContext has already completed processing.
              at org.apache.catalina.core.AsyncContextImpl.check(AsyncContextImpl.java:535)
              at org.apache.catalina.core.AsyncContextImpl.complete(AsyncContextImpl.java:92)
              at org.icepush.servlet.AsyncAdaptingServlet$AsyncRequestResponse.respondWith(AsyncAdaptingServlet.java:69)
              at com.icesoft.icepush.AdjustHeartbeatServer$HeartbeatRequest.respondWith(AdjustHeartbeatServer.java:66)
              at org.icepush.SequenceTaggingServer$TaggingRequest.respondWith(SequenceTaggingServer.java:67)
              at org.icepush.BlockingConnectionServer.respondIfPendingRequest(BlockingConnectionServer.java:177)
              ... 3 more

        Issue Links

          Activity

          Jack Van Ooststroom created issue -
          Jack Van Ooststroom made changes -
          Field Original Value New Value
          Fix Version/s EE-3.3.0.GA_P02 [ 11370 ]
          Jack Van Ooststroom made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          Jack Van Ooststroom made changes -
          Assignee Jack Van Ooststroom [ jack.van.ooststroom ]
          Jack Van Ooststroom made changes -
          Link This issue depends on PUSH-293 [ PUSH-293 ]
          Jack Van Ooststroom made changes -
          Comment [ Sending icepush-ee/core/src/main/java/org/icepush/servlet/AsyncAdaptingServlet.java
          Sending icepush-ee/core/src/main/java/org/icepush/servlet/BrowserBoundServlet.java
          Sending icepush-ee/core/src/main/java/org/icepush/servlet/EnvironmentAdaptingServlet.java
          Sending icepush-ee/core/src/main/java/org/icepush/servlet/ThreadBlockingAdaptingServlet.java
          Transmitting file data ....
          Committed revision 41224.

          Sending icepush-ee/core-ee/src/main/java/com/icesoft/icepush/BrowserBoundServlet.java
          Transmitting file data .
          Committed revision 38462.
          ]
          Jack Van Ooststroom made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Jack Van Ooststroom
              Reporter:
              Jack Van Ooststroom
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: