[GLASSFISH-14502] WebSockets don't work in latest GlassFish Created: 08/Nov/10  Updated: 26/Nov/10  Resolved: 10/Nov/10

Status: Resolved
Project: glassfish
Component/s: grizzly-kernel
Affects Version/s: 3.1
Fix Version/s: 3.1_b28

Type: Bug Priority: Major
Reporter: Bhavanishankar Assignee: Justin Lee
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: Linux

Issue Links:
blocks GLASSFISH-13286 Not able to enable WebSocket support ... Resolved
Issuezilla Id: 14,502


Following the youtube demo of websockets in glassfish
(http://www.youtube.com/watch?v=dPPDWzzv86U), I downloaded the chat source from
built it and deployed on the latest 3.1-SNAPSHOT of GlassFish.

But when I access localhost:8080/grizzly-websockets-chat and login as "Bhavani",
it shows: Bhavani: has left the chat

I also tried creating WebSocket via a simple html:

ws = new
ws.onclose = function()

{ alert("socket closed"); }


and I always see "socket closed"

[Community thread

Comment by oleksiys [ 08/Nov/10 ]

reassign to Justin

Comment by Ryan Lubke [ 10/Nov/10 ]

This was an issue with the chat application and not with websockets itself. Grizzly 1.9.22 has been pushed
with an updated version of the application which should resolve this issue.

Generated at Sat Aug 29 01:02:27 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.