String localCommandServiceJndiName = "java:comp/env/ejb/LocalCommandServiceBean";
try {
Context initial = new InitialContext();
LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome) initial.lookup(localCommandServiceJndiName);
LocalCommandService localCommandService = localCommandServiceHome.create();
localCommandService.execute(new ExecuteTimerCommand(id.longValue()));
// if the timer has repeat
if (repeat!=null) {
// create a new timer
log.debug("repeating timer "+id);
createTimer(repeat);