You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/06/20 09:10:25 UTC

[Bug 56650] New: Websockets session replication support

https://issues.apache.org/bugzilla/show_bug.cgi?id=56650

            Bug ID: 56650
           Summary: Websockets session replication support
           Product: Tomcat 8
           Version: 8.0.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: WebSocket
          Assignee: dev@tomcat.apache.org
          Reporter: veliscu.cristi@gmail.com

Hi, 

I cannot see any built-in support for Websockets session replication in a
Cluster environment. Please help!


Cristian,

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56650] Websockets session replication support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56650

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
The WebSocket protocol and the Java WebSocket API do not support this concept.

1. There is no mechanism for a WebSocket client to identify the session it is
part of. Therefore, after a failure and on reconnect there is no way to
associate the new connection with an old session.

2. The Java WebSocket API has a 1-to-1 mapping between connections and
sessions. When the connection drops the session is lost.

Your best option is to use the HTTP session for which session replication
support is already in place.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56650] Websockets session replication support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56650

vlcvlc <ve...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |veliscu.cristi@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56650] Websockets session replication support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56650

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56650] Websockets session replication support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56650

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liushangkun520@hotmail.com

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
*** Bug 56659 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org