JBoss Community

EJBTimerService remove persistent timers trouble

created by Ilia Ternovykh in EJB3 - View the full discussion

Hi!

 

I've deployed stateless bean that has one method marked with @Schedule annotation and have forgotten to add persistent = false inside annotation.

 

Then I've redeployed this bean several times (during development). Now I've got multiple persistent timers running and all of them call method with @Schedule annotation.

 

How can I clean all persistent timers? I've managed to invoke clearTimers() method of using jmx-console and EJBTimerService but this made no effect.

 

Please advise.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community