Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha1
-
Fix Version/s: 2.0-Alpha2, 2.0.0
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces 2.0
-
Affects:Sample App./Tutorial
Description
The application-scoped ClockBean creates a Timer for running TimerTasks for each new session. Even though the constructor is specifying that the underlying thread is a daemon thread, it appears that it doesn't apply unless the whole JVM is shutting down (not just the re-deployed app).
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Add @PreDestroy cleanup() method to cancel the Timer so that it no longer lasts between deployments.