Hi,

I just installed Apache 1.3.6 and JServ 1.0b5 on a Sparc running Solaris
2.5, and I've noticed an odd problem.

On the Macintosh version of Internet Explorer 4.5, if I try to reload the
sample servlet "Hello" (http://myserver/example/hello) at two-second
intervals, about 10% of the time, Apache responds with an error page titled
"200 Ok" that reads:

     OK

     The server encountered an internal error or misconfiguration
     and was unable to complete your request.

and puts in the JServ error log:

     [01/06/1999 15:43:00:239] (EMERGENCY) ajp11: cannot scan servlet headers
     [01/06/1999 15:43:00:240] (ERROR) an error returned handling request via
                               protocol "ajpv11"

The other 90% of the time, the servlet works perfectly. If I reload the
servlet at three-second intervals, it works perfectly. If I use Netscape
Communicator, or either browser on the PC, it works perfectly. (I used a
macro package, QuicKeys, to test the timing.)

Any idea what's going on?

A little more info: I dug just a tiny bit into the code to get a better
idea what was happening... the culrpit seems to be a call that
jserv_ajpv11.c makes to Apache: ap_scan_script_header_err_buff(). This call
is returning a code of 304 ("Not Modified"). When that happens, a
SERVER_ERROR is returned, but the actual 304 code is discarded. So somehow,
the 200 code ("Ok") is being presented as an error.

Any help or suggestions appreciated!

Thanks,

Scott
--------------------------------------------------
Scott Kelley, [EMAIL PROTECTED] (619) 534-8479
Biology Computing Services, UC San Diego
--------------------------------------------------


-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to