I was wondering if anyone could shed some light on some strange 502 errors I
am having when going through a proxy.  We are using a relatively new proxy
server Sun-Java-System-Web-Proxy-Server/4.0

The error seems to be originating between Tomcat and the proxy.  When the
error occurs, the proxy logs say:
Error reading response header.  Server closed connection.

On a thousand rapid requests from a client thread, I will get this only 0 -
3 times.

If I send the response header "Connection: close" on every request from my
servlet, I do not get the error.  However, I do not want to disable
persistent connections.

I did a snoop, and I noticed that the responses I get (on the same socket) a
bunch of replies with this header:

        HTTP/1.1 200 OK 
        Transfer-Encoding: chunked 
        Date: Tue, 18 Jul 2006 19:35:12 GMT 
        Server: Apache-Coyote/1.1

On the last one for a given socket,
        HTTP/1.1 200 OK 
        Date: Tue, 18 Jul 2006 19:35:12 GMT 
        Server: Apache-Coyote/1.1 
        Connection: close

Any guidance or insight would be greatly appreciated.
Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to