• Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: grizzly-kernel
    • Labels:
    • Environment:

      glassfish 3.1.2 Release, Windows 7, FF or IE.


      We have an issue in a Atmosphere application using streaming or long-polling.
      After the js code is subscribing for a request then the server-side code is doing a request.suspend() and then a broadcasting.
      In the time of broadcasting the suspend call seems is not completed and then the glassfish thrown error 503 and this error invalidates the htt session of the client.
      Very hard for me to provide a sample.
      I advice tzo use the atmosphere-pubsub sample project.
      The idea is if you don't have authentication in the project like in the atmosphere-pubsub you cannot see the error.
      In this sample project if authentication will be added then should be reproducable. Eventually adding broadcasting directly after suspend will allow to reproduce the rror easy.
      See the thread when I discussed this error with Jeanfrancois::

      Unfortunately my app I cannot deliver because of the complexity(app using a db connection) and license reasons.

      1. invalid_session_unsubscribe.jpg
        123 kB


        vasim created issue -
        Ryan Lubke made changes -
        Field Original Value New Value
        Attachment web-core.jar [ 49925 ]
        oleksiys made changes -
        Priority Blocker [ 1 ] Major [ 3 ]
        Ryan Lubke made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Incomplete [ 4 ]


          • Assignee:
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: