I think maybe I got why cancelled controlMonitorTimerTask not be release at my side. First time, timer schedule a task,
| timer.schedule(controlMonitorTimerTask, pingFrequency, pingFrequency); | pingFrequency's value is 214748364 that's configure in jboss\server\default\deploy\jboss-messaging.sar\remoting-bisocket-service.xml, then java.util.TimerThread.mainLoop() do | synchronized(task.lock) { | .... | currentTime = System.currentTimeMillis(); | executionTime = task.nextExecutionTime; | if (taskFired = (executionTime<=currentTime)) { | .... } | } | } | if (!taskFired) // Task hasn't yet fired; wait | queue.wait(executionTime - currentTime); | so queue will wait for 214748364ms , thus cancelled controlMonitorTimerTask will not be release until in that long time. Could you tell me what value I should set pingFrequency to, as after set it a small value such as 10000, I get a lot of exception while starting jboss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160818#4160818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160818 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user