[GLASSFISH-18681] [websocket] DefaultWebSocket.getRequest() returns invalid values Created: 02/May/12  Updated: 22/Jan/13  Resolved: 22/Jan/13

Status: Resolved
Project: glassfish
Component/s: web_container
Affects Version/s: 3.1.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: jfarcand Assignee: Ryan Lubke
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


DefaultWebSocket.getRequest().getPathInfo() and getServletPath() returns wrong value. As an example, deploying atmosphere-rest-chat.war and invoking URL /atmosphere-rest-chat/chat produces

pathInfo = /atmosphere-rest-chat/chat
servletPath = ""
contextPath = /atmosphere-rest-chat

Values should have be

I don't recall the exact issue number but I'm sure this bug was supposed to be fixed.

pathInfo = null
servletPath = /chat
contextPath = /atmosphere-rest-chat

Comment by Ryan Lubke [ 07/Dec/12 ]

This will be resolved (completely) in 1.9.55. Not sure yet which version of GF that that particular version will be included.

Comment by Ryan Lubke [ 22/Jan/13 ]

It is possible to upgrade the Grizzly runtime within if a fix is needed immediately.

Generated at Sun Nov 29 19:50:04 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.