Details
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.
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 ( |
| Files Changed | ||||
ADD
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/push/servlet/ICEpushResourceHandlerLifecycle.java
MODIFY
/icefaces2/trunk/icefaces/core/src/main/resources/META-INF/core.tld
|
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Ted Goddard [ ted.goddard ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.0-Beta2 [ 10242 ] | |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | 2.0.0 [ 10230 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |

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.