private void restartContext( ContextManager cm, Context ctx,HttpServletRequest req )
throws TomcatException {
Request request = (Request)
req.getAttribute( Request.ATTRIB_REAL_REQUEST);
if( request == null ) {
throw new TomcatException("Untrusted Web-App");
}
synchronized(ctx) {
if(ctx.getState() == Context.STATE_NEW)
return ; // Already reloaded.
Vector sI=new Vector(); // saved local interceptors