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

--- Comment #8 from Konstantin Preißer <kpreis...@apache.org> ---
Hi Mark,

(In reply to Mark Thomas from comment #7)
> I'm not seeing the errors you are seeing but I did spot a possible failure
> mode which I have now fixed. Could you re-test 8.0.x please.

Thanks a lot. I updated to r1543948 and cannot reproduce the main problems any
more (like websocket connection suddenly closes, wrong response sent to the
browser). I think it is fixed now.

I also don't get NPEs or IllegalArgumentExceptions any more. I still do see
IOExceptions ("Software caused connection abort" / "Key must be cancelled") and
ClosedChannelExceptions reported through the ChatAnnotation's onError method,
but these are probably expected due to the browser aborting the connection when
repeatedly pressing F5.

I also still see the following exception:

Exception in thread "WebSocketServer-localhost-/examples-14"
java.lang.IllegalStateException: Message will not be sent because the WebSocket
session has been closed
        at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:306)
        at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:273)
        at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.write(WsRemoteEndpointImplBase.java:637)
        at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase$TextMessageSendHandler.onResult(WsRemoteEndpointImplBase.java:649)
        at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.endMessage(WsRemoteEndpointImplBase.java:299)
        at
org.apache.tomcat.websocket.WsRemoteEndpointImplBase$EndMessageHandler.onResult(WsRemoteEndpointImplBase.java:447)
        at
org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer$OnResultRunnable.run(WsRemoteEndpointImplServer.java:234)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to