[infinispan-issues] [JBoss JIRA] Updated: (ISPN-943) Websocket handler not supporting protocol version 76

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Tue Feb 22 09:42:13 EST 2011


     [ https://issues.jboss.org/browse/ISPN-943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-943:
----------------------------------

        Summary: Websocket handler not supporting protocol version 76  (was: Websocket demo not working)
         Labels: websocket  (was: )
    Description: 
The current websocket server handler only supports protocol 75 and since July '10 there's a new spec, version 76. The Websocket server handler should support both versions.

Original report from Burr:

"I am trying to build a websocket prototype/demo.  That means I am looking at things like Jetty, Resin and Kaazing.  AND I would love it if I could just make the demo work with Infinispan - since the final demo vision calls for Infinispan anyway.

However, with 4.2 - I can't make it work - my guess is the config is off some place.

Steps:
1) startserver -r websocket
2) Open file://localhost/D:/tools/infinispan-4.2.0.FINAL/etc/sample-websocket-client.html
in Opera (with WS enabled) or Chrome
3) Put "Hello" and "World"
4) clear out "World"
5) Get "Hello"

But nothing happens, no error messages on the console nor browser for Opera
with Chrome I get keyChange is not defined and cache is not defined

Visiting http://localhost:8181/infinispan-ws.js in Chrome does return the JS so the server is responding."

  was:
>From Burr:

"I am trying to build a websocket prototype/demo.  That means I am looking at things like Jetty, Resin and Kaazing.  AND I would love it if I could just make the demo work with Infinispan - since the final demo vision calls for Infinispan anyway.

However, with 4.2 - I can't make it work - my guess is the config is off some place.

Steps:
1) startserver -r websocket
2) Open file://localhost/D:/tools/infinispan-4.2.0.FINAL/etc/sample-websocket-client.html
in Opera (with WS enabled) or Chrome
3) Put "Hello" and "World"
4) clear out "World"
5) Get "Hello"

But nothing happens, no error messages on the console nor browser for Opera
with Chrome I get keyChange is not defined and cache is not defined

Visiting http://localhost:8181/infinispan-ws.js in Chrome does return the JS so the server is responding."

    Component/s: Cache Server


> Websocket handler not supporting protocol version 76
> ----------------------------------------------------
>
>                 Key: ISPN-943
>                 URL: https://issues.jboss.org/browse/ISPN-943
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Cache Server
>    Affects Versions: 4.2.0.Final, 4.2.1.CR3
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>              Labels: websocket
>             Fix For: 4.2.1.FINAL
>
>
> The current websocket server handler only supports protocol 75 and since July '10 there's a new spec, version 76. The Websocket server handler should support both versions.
> Original report from Burr:
> "I am trying to build a websocket prototype/demo.  That means I am looking at things like Jetty, Resin and Kaazing.  AND I would love it if I could just make the demo work with Infinispan - since the final demo vision calls for Infinispan anyway.
> However, with 4.2 - I can't make it work - my guess is the config is off some place.
> Steps:
> 1) startserver -r websocket
> 2) Open file://localhost/D:/tools/infinispan-4.2.0.FINAL/etc/sample-websocket-client.html
> in Opera (with WS enabled) or Chrome
> 3) Put "Hello" and "World"
> 4) clear out "World"
> 5) Get "Hello"
> But nothing happens, no error messages on the console nor browser for Opera
> with Chrome I get keyChange is not defined and cache is not defined
> Visiting http://localhost:8181/infinispan-ws.js in Chrome does return the JS so the server is responding."

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list