Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GlassFish] When connection is down sometimes AtmosphereResource does not destroy #499

Closed
TheRealSpaceShip opened this issue Jul 11, 2012 · 3 comments

Comments

@TheRealSpaceShip
Copy link

Hi. I have found a strange behaviour of AtmosphereResource when connection to AtmosphereHandler is going down.
For example when internet connection is unexpected closing, or user browser is crashed AtmosphereResource does not destory (AtmosphereResourceEvent onDestroy does not invoke). In this situation there are not any errors or exception. What can it be and how can I manage status of request in this case?

Thanks.

@TheRealSpaceShip
Copy link
Author

Forgot to say. I'm using GlassFish Server Open Source Edition 3.1.2 (build 23) and Atmosphere 1.0.0.beta2a

@jfarcand
Copy link
Member

Salut, GlassFish is most probably missing some IO events. Can you share a reproducible scenario? Meanwhile, you can workaround the issue by doing

https://github.com/Atmosphere/atmosphere/wiki/onDisconnect-tricks

@jfarcand
Copy link
Member

Unable to reproduce, closing.Please re-open in case you are still able to reproduce. Also were you using Servlet 3.0 or Grizzly comet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants