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 2022/08/16 15:08:38 UTC

[Bug 66222] New: Exception occured while sending Websocket Message and the session is being closed

https://bz.apache.org/bugzilla/show_bug.cgi?id=66222

            Bug ID: 66222
           Summary: Exception occured while sending Websocket Message and
                    the session is being closed
           Product: Tomcat 8
           Version: 8.5.11
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: WebSocket
          Assignee: dev@tomcat.apache.org
          Reporter: kmarimuthu@tekvizion.com
  Target Milestone: ----

I am trying to send the Message from the Websocket Server using
"session.getBasicRemote().sendText("message");" , I got the IO exception
message   "The current thread was interrupted while waiting for a blocking send
to complete " and the Websocket Session being closed due to the exception.

This Issue is happening while I am trying to run multiple threads parallely to
send the message on the same session object, Note: the method to send the
Wesocket Message is Synchronised, still I am getting the Exception.

Please help me to solve this issue. Thanks in advance.

Regards,
Karthikeyan

-- 
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 66222] Exception occured while sending Websocket Message and the session is being closed

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
That Tomcat version is over 8 years old. Please retest with the latest 8.5.x
release (8.5.82 at the time of writing). If you still see the issue we'll
likely need a test case that demonstrates the issue.

-- 
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 66222] Exception occured while sending Websocket Message and the session is being closed

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Set importance to something reasonable.

-- 
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 66222] Exception occured while sending Websocket Message and the session is being closed

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
No response for over a month. Assuming issue is fixed in latest 8.5.x.

If you still see this issue with the latest 8.5.x release then please do
re-open this issue and provide the steps to create the issue with the latest
8.5.x release.

-- 
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