/** @see wicket.RequestCycle#onEndRequest() */ @SuppressWarnings("nls") @Override protected void onEndRequest() { J2DBGlobals.setServiceProvider(null); WebClientSession webClientSession = (WebClientSession) getSession(); WebClient webClient = webClientSession.getWebClient(); if (webClient != null) { try { webClient.onEndRequest(webClientSession); } finally { MDC.remove("clientid"); MDC.remove("solution"); } } }