Wrapper adHocWrapper = (Wrapper) context.findChild(adHocServletName);
if (adHocWrapper != null) {
Servlet adHocServlet = null;
try {
adHocServlet = adHocWrapper.allocate();
adHocServlet.service(hreq, hres);
} catch (Throwable t) {
hres.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
String msg = LOGGER.getResourceBundle().getString(
"webmodule.adHocContextValve.adHocServletServiceError");
msg = MessageFormat.format(