ICEfaces
  1. ICEfaces
  2. ICE-6136

ICEpush not shutdown from ICEfaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta1
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description

      When an ICEfaces application is shutdown or redeployed, the following message can be seen:

      SEVERE: A web application appears to have started a TimerThread named [Timer-16] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22696 Wed Oct 20 08:46:24 MDT 2010 ted.goddard ServletContextListener for shutting down ICEpushResourceHandler (ICE-6136)
        Files Changed
        Commit graph ADD /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/push/servlet/ICEpushResourceHandlerLifecycle.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/core/src/main/resources/META-INF/core.tld
        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Ted Goddard [ ted.goddard ]
        Hide
        Ted Goddard added a comment -

        Added ICEpushResourceHandlerLifecycle.java to listen for context shutdown and terminate ICEpush MainServlet. This could be done within ICEpush itself, however, since ICEfaces started ICEpush, and connected it to a non-Servlet front-end, it is appropriate that ICEfaces perform the shutdown.

        Show
        Ted Goddard added a comment - Added ICEpushResourceHandlerLifecycle.java to listen for context shutdown and terminate ICEpush MainServlet. This could be done within ICEpush itself, however, since ICEfaces started ICEpush, and connected it to a non-Servlet front-end, it is appropriate that ICEfaces perform the shutdown.
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0-Beta2 [ 10242 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: