- From: Anselm Baird_Smith <abaird@www43.inria.fr>
- Date: Tue, 28 Jan 1997 16:26:19 +0100 (MET)
- To: trapper@cix.compulink.co.uk
- Cc: www-jigsaw@www10.w3.org
Chris Jolly writes: > I have had no luck setting up CGI - I have followed the instructions but > every time my browser does a POST I get an exception as follows > (debugging on): > > POST /research/cgi/perltest.pl HTTP/1.1 > Cache-Control: no-cache > Date: Wed, 22 Jan 1997 10:20:6 GMT > Pragma: no-cache > Via: 1.1 127.0.0.1 (Jigsaw/1.0a3) > Content-Length: 14 > Content-Type: application/x-www-form-urlencoded > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* > Accept-Language: en > Host: softnts1 > Referer: http://softnts1/research/ > User-Agent: Mozilla/2.0 (compatible; MSIE 3.0; Windows 95) > UA-pixels: 640x480 > UA-color: color8 > UA-OS: Windows 95 > UA-CPU: x86 > > Exception while running request: > java.lang.ArrayIndexOutOfBoundsException: 6 > at w3c.www.http.HttpParser.parseInt(HttpParser.java) > at > w3c.www.http.HttpReplyMessage.notifyBeginParsing(HttpReplyMessage.jav > a) > at w3c.www.mime.MimeParser.parse(MimeParser.java) > at > w3c.www.protocol.http.HttpBasicServer.http10_ka_run(HttpBasicServer.j > ava) > at > w3c.www.protocol.http.HttpBasicServer.doRequest(HttpBasicServer.java) > > at > w3c.www.protocol.http.HttpBasicServer.runRequest(HttpBasicServer.java > ) > at w3c.www.protocol.http.HttpManager.runRequest(HttpManager.java) > at > w3c.jigsaw.proxy.ForwardDirectory.perform(ForwardDirectory.java) > at w3c.jigsaw.http.httpd.perform(httpd.java) > at w3c.jigsaw.http.Client.processRequest(Client.java) > at w3c.jigsaw.http.Client.loop(Client.java) > at w3c.jigsaw.http.Client.runConnection(Client.java) > at w3c.jigsaw.http.Client.run(Client.java) > at java.lang.Thread.run(Thread.java:294) I am a bit puzzled by that stack trace: why does your request goes through a ForwardDirectory resource ? Could you provide more infos on this strange setting ? BTW The three calls to parseInt in Reply is for parsing resp HTTP major and minor numbers, and the reply status. Anselm.
Received on Tuesday, 28 January 1997 10:37:03 UTC