i have found the solution :
I killed all timers associated with the current bean, for instance :
| //to be sure that there is not previous timer still running on JBOSS
| Collection timersList = timerService.getTimers ();
| for (Object timer: timersList) {
| if (timer instanceof Timer) {
| log.debug ("Timer still running, kill it : "+timer);
| ((Timer)timer).cancel ();
| }
| }
|
thank you for your answer.
Regard's.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216480#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...