tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54800] New: Possible thread/memory leak with use of WebSocketContainer
Date Thu, 04 Apr 2013 21:47:00 GMT
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: dev@tomcat.apache.org
          Reporter: rstoyanchev@yahoo.com
    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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message