For others coming upon this thread, I disabled the long scan by (essentially)
disabling the WAR protocol:
public class OverridenSpringServerServlet extends SpringServerServlet {
@Override
protected Client createWarClient(Context context, ServletConfig config)
{
return new OverriddenWarClient(context,
config.getServletContext());
}
/*
* This custom Client does nothing, essentially "stubbing out" the
ServletWarClient
* that would normally be in its place.
*/
public class OverriddenWarClient extends Client {
public OverriddenWarClient(Context parentContext, ServletContext
servletContext) {
super(parentContext.createChildContext(), (List<Protocol>)
null);
getProtocols().add(Protocol.WAR);
}
}
}
This is a bletcherous hack and won't help anyone who actually uses the WAR
protocol, but I was desperate.
Sean
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3054649