Thanks for your thoughts.
The unregisterSchedule() method unregisters the scheduler if it has already been
registered:
public void unregisterSchedule(boolean throwException) throws SchedulerException{
try{
server.unregisterMBean(scheduleName);
}catch(Exception e){
// we might want to do it just in case the scheduler is registered already and don't
care if not
if (throwException)
throw new SchedulerException(e.getMessage());
}
}
I don't think we want to call unregisterSchedule() on the new instance of the MBean
after its creation and registration.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158742#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...