Thanks for reply and help. I have installed latest netbeans with glassfish
server 3.1.2. i downloaded it from here
http://bits.netbeans.org/download/trunk/nightly/latest/ [1] . Now connection
is establishing error is solved.
Now websocket connection opens successfully in mozilla but when i sends
message to websocket servlet its doesent invokes the serverside
functionality. Its not giving any error also. I tried to debug in netbeans
but its not going in websocket servlet.