java - JBOSS - Previos execution of timer is still progress,timer state is IN_TIMEOUT -


i using jboss eap 6.4 . have schedule schedulers in scedulerbean using ejb @shedule annotation follows. here shedulerbean dependson startupbean.

@singleton @dependson("startupbean") public class schedulerbean {     private logger logger = loggerfactory.getlogger(schedulerbean.class);     private schedulerinterface schedulerinterface;     @postconstruct     public void initialize() {         // initialization     }     @schedule(second = "1/1", minute = "*", hour = "*",persistent = false)     public void runschedulers() {         logger.info("ejb scheduler pulse start @ : " + new date());         try {             schedulerinterface.pulseeverysecond();             logger.info("ejb scheduler pulse end @ : " + new date());         } catch (exception e) {             logger.error("error in ejb scheduling : ", e);         }     }  } 

but, repeatedly getting following warning during jboss deployment. can 1 tell me way resolve this?

a previous execution of timer [shedularbean] still in progress, skipping overlapping scheduled execution at: [timestamp] timer state in_timeout

since running task every second, means previous scheduled task (of current second-1 ) still in progress when current task scheduled.

hence jboss informing skip execution.

refer more details: https://issues.jboss.org/browse/as7-3119


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -