if (logger.isLoggable(Level.INFO)) {
outputRequest(req);
}
try {
Invoker invoker = getInvoker(req);
invoker.invoke(req, resp);
} catch (ResourceNotFoundException e) {
logger.log(Level.WARNING, e.getMessage(), e);
resp.sendError(HttpServletResponse.SC_NOT_FOUND);
} catch (Exception e) {
logger.log(Level.WARNING, e.getMessage(), e);