// Select the actual renderer by method and have it render the
// request. Since renderers are being pooled by the bundle, we
// have to return it after the request has finished.
try {
logger.debug("Rendering {} using page template '{}'", path, template);
template.render(request, response);
} catch (Throwable t) {
String params = RequestUtils.dumpParameters(request);
String msg = "Error rendering template '" + template + "' on '" + path + "' " + params;
Throwable o = t.getCause();
if (o != null) {