public class UpdateCacheWorkerServlet extends HttpServlet {
private static final Logger log = Logger.getLogger(UpdateCacheWorkerServlet.class.getName());
public void doPost(HttpServletRequest req, HttpServletResponse resp) {
NotifierDatastore d = new NotifierDatastore();
String out = null;
boolean update = true;
try {
d.updateCache();
} catch (EntityNotFoundException e) {
out = "Update cache failed: " + e.getMessage();
update = false;
e.printStackTrace();
} finally {