users@tyrus.java.net

Issue when working with Arun Gupta's TOTD #207

From: john brock <john.brock_at_oracle.com>
Date: Thu, 28 Feb 2013 07:46:30 -0800

Hi guys,

Not sure if this is a good question for this alias or not, but I've run
into a bit of an issue and not sure where else to ask.

I'm running a simple websockets service that Arun Gupta posted up as his
TOTD #207.
https://blogs.oracle.com/arungupta/entry/chat_sever_using_websocket_totd

This project works fine when I deploy it to a Windows based GF4_b77
install. However when I try and deploy the exact same .war file to a
Linux based GF4_b77 install, I get this error message returned:

WebSocket connection to 'ws://<servername>:8080/chat/websocket' failed:
Unexpected response code: 404

Is this more of a GlassFish issue and I should head over there, or is
this something that I have to change in the app itself?

Thanks for any pointers or ideas.

--jb


-- 
Oracle <http://www.oracle.com>
John 'JB' Brock | Product Manager
Phone: +1 4259458729 <tel:+1%204259458729>
Oracle Developer Tools
| Seattle, WA
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment