Atmosphere/atmosphere — pull request #1583 by codeturner (2014-05-05 16:03:46+00:00)
Title: #1580 - default-web-module support

GlassFishWebSocketHandler.isApplicationRequest() returns false if the request doesn't start with the servlet contextpath. However, if the webapp is set as the default-web-module, then the request will not start with the contextpath since GlassFish strips that from the request.

To fix, we just need to ensure that the contextpath is removed from the start of the request path, instead of requiring it to be so.