// get the configration - this could conflict if 2 mirs are in the
// VM maybe? to be checked. -mh
+ // -- they would have different servlet contexts, so the following is
+ // no problem (br1)
if(getServletContext().getAttribute("mir.confed") == null) {
getConfig(req);
}
ServletModuleDispatch.dispatch(ServletModuleOpenIndy.getInstance(),req,res);
}
catch (ServletModuleUserException e) {
- handleUserError(req,res,res.getWriter(), e.getMsg());
+ handleUserError(req,res,res.getWriter(), e.getMessage());
}
catch (ServletModuleException e){
e.printStackTrace();
- handleError(req,res,res.getWriter(), "OpenIndy :: ServletException in Module ServletModule -- " + e.toString());
+ handleError(req,res,res.getWriter(), "OpenIndy :: ServletException in Module ServletModule -- " + e.getMessage());
}
// timing...
sessionConnectTime = new java.util.Date().getTime() - startTime;
out.close();
}
catch (Exception e) {
- System.err.println("Fehler in UserErrorTemplate");
+ System.err.println("Error in UserErrorTemplate");
}
}
out.close();
}
catch (Exception e) {
- System.err.println("Fehler in ErrorTemplate");
+ System.err.println("Error in ErrorTemplate");
}
}