https://issues.apache.org/bugzilla/show_bug.cgi?id=54800
Bug ID: 54800
Summary: Possible thread/memory leak with use of
WebSocketContainer
Product: Tomcat 8
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Whenever WebSocketContainer is used to connect to a server endpoint, the
following message appears when Tomcat shuts down:
SEVERE: The web application [/websocket-test] appears to have started a thread
named [Thread-4] but has failed to stop it. This is very likely to create a
memory leak.
The message is repeated for 6 different threads. I don't have proof this is
caused by the use of WebSocketContainer but the messages don't appear when it
isn't used.
The Endpoint used to connect is very simple. It sends a message when the
session is opened to the EchoEndpoint on the server side, and prints the
response and closes when the message is echoed back.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]