ICEfaces
  1. ICEfaces
  2. ICE-6967

Hanging threads upon shutdown or undeploy

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-1.8.2.GA_P03
    • Fix Version/s: EE-1.8.2.GA_P04
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Apache Tomcat 6.0.32

      Description

      As of some 6.0.x version of Tomcat it complains about hanging threads upon shutdown or undeploy:

      Jun 16, 2011 10:52:43 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
      SEVERE: The web application [/timezone-failover-push] appears to have started a thread named [Render Thread - 1] but has failed to stop it. This is very likely to create a memory leak.

      Though JStack shows that even though the complaint is made that the threads do get cleaned up (probably forcibly by Tomcat). This seems to affect multiple parts of ICEfaces, namely the Core, MSC and Push Server. Each issue can be addressed in a separate JIRA linking to this one.

        Issue Links

          Activity

          Jack Van Ooststroom created issue -
          Jack Van Ooststroom made changes -
          Field Original Value New Value
          Assignee Jack van Ooststroom [ jack.van.ooststroom ]
          Jack Van Ooststroom made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Jack Van Ooststroom made changes -
          Link This issue depends on ICE-6974 [ ICE-6974 ]
          Jack Van Ooststroom made changes -
          Link This issue depends on ICE-6975 [ ICE-6975 ]
          Jack Van Ooststroom made changes -
          Link This issue depends on ICE-6990 [ ICE-6990 ]
          Jack Van Ooststroom made changes -
          Link This issue depends on ICE-7988 [ ICE-7988 ]
          Jack Van Ooststroom made changes -
          Link This issue depends on ICE-7989 [ ICE-7989 ]
          Jack Van Ooststroom made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jack Van Ooststroom made changes -
          Comment [ Sending core/src/com/icesoft/net/messaging/MessagePipeline.java
          Sending core/src/com/icesoft/net/messaging/MessageServiceClient.java
          Transmitting file data ..
          Committed revision 28657.
          ]
          Jack Van Ooststroom made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Jack Van Ooststroom made changes -
          Comment [ MessagePipelines can now be closed as well. Causing any outstanding PublishTask to get cancelled. However, it could still happen that between server shutdown and the invocations of the Servlet's destroy() methods, another UpdatedViews message will be attempted to send to Push Server using HTTP. At this point the invocation of HttpURLConnection.getInputStream() seems to hang presumably because the ports or the listeners of the servers don't allow any more incoming requests. This causes warnings to be logged for Core Threads and MSC Threads. Please refer to the main JIRA for more specifics. Marking this one as FIXED. ]
          Jack Van Ooststroom made changes -
          Link This issue depends on ICE-8002 [ ICE-8002 ]
          Jack Van Ooststroom made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Jack Van Ooststroom
              Reporter:
              Jack Van Ooststroom
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: