>> In the last few days I've been getting errors like this:
>> 
>> -- URL Was: http://deepblue.lib.umich.edu/dspace/handle/2027.42/31692
>>[..]
>> Exception:
>> java.lang.IllegalArgumentException: 2 Dec 2007 03:08:59 GMT at
>>
org.apache.catalina.connector.HttpRequestBase.getDateHeader(HttpRequestB
>> ase.java:860)
>
> My guess (and it is only a guess!) is that the date format being sent
by
> the crawler is incorrect, so Tomcat burps and spits it out.

We've also seen these since a few days back. HandleServlet.java does
this when the exception strikes:

long modSince = request.getDateHeader("If-Modified-Since");

So what happens is that the crawler is using an invalid
if-modified-since parameter in the http request. 

Now, our Tomcat doesn't seem to be creating any access logs (shouldn't
it?) so I can't check the source IP of this request. 

One odd thing is that the "URL Was:" section in the error mail I get is
missing the port number. I.e it shows
http://hostname/dspace/handle/xxx/yyy rather than
http://hostname:port/dspace/handle/xxx/yyy which is the only way our
DSpace can be acccessed since it's not listening to port 80. Probably
just a small bug in request.getRequestURL().toString() used by
storeOriginalURL but that's not very comforting..

best regards

Mathias Hjelt



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to