Many thanks to Henrik and Bill for helping me to get enough info to debug.

Replying to my own, and changing subject to reflect changes in environment.

Anybody have any idea why Tomcat would not honor 1.0 keep-alives?  In
general or specifically from a Squid proxy.

I've included the request dumper output.  Tomcat sends a Connection: Close
header, then disconnects, then sends more data.

Any ideas?

Brian Peterson

> -----Original Message-----
> From: Brian Peterson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 5:46 PM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat 4.1.18 and SQUID
>
>
> Many thanks Bill, for a hint.
>
> <snip>
> >>
> >> Tomcat doesn't honor a HTTP/1.0 Connection: keep-alive
> when it comes from
> >> SQUID.  I've upgraded Tomcat to 4.1.27 (latest stable),
> and I am still
> >> seeing these errors.  Any ideas?
> >>
>
> >Not really.  Tomcat is supposed to handle HTTP/1.0
> Keep-Alives.  You could
> >try enabling the RequestDumper and posting the results.
>
> It appears as if tomcat says "connection:close" and then
> spews more data.
> Very strange.
>
> Here is the Request Dumper output...
>
> 2003-08-19 17:27:02 RequestDumperValve[/path]: REQUEST URI
> =/path/to/app.file
> 2003-08-19 17:27:02 RequestDumperValve[/path]:           authType=null
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> characterEncoding=utf-8
> 2003-08-19 17:27:02 RequestDumperValve[/path]:      contentLength=874
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> contentType=text/xml;
> charset=utf-8
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> contextPath=/path
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=user-agent=Mozilla/4.0 (compatible; MSIE 6.0; MS Web
> Services Client
> Protocol 1.1.4322.573)
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=content-type=text/xml; charset=utf-8
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=soapaction="urn:appname"
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=content-length=874
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=expect=100-continue
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=via=1.1
> squid.host:2000 (squid/2.5.STABLE3)
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=x-forwarded-for=xxx.yyy.zzz.www
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=host=server.host
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=cache-control=max-age=5184000
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> header=connection=keep-alive
> 2003-08-19 17:27:02 RequestDumperValve[/path]:             locale=en
> 2003-08-19 17:27:02 RequestDumperValve[/path]:             method=POST
> 2003-08-19 17:27:02 RequestDumperValve[/path]:           pathInfo=null
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> protocol=HTTP/1.0
> 2003-08-19 17:27:02 RequestDumperValve[/path]:        queryString=null
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> remoteAddr=xxx.yyy.zzz.www
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> remoteHost=squid.host
> 2003-08-19 17:27:02 RequestDumperValve[/path]:         remoteUser=null
> 2003-08-19 17:27:02 RequestDumperValve[/path]: requestedSessionId=null
> 2003-08-19 17:27:02 RequestDumperValve[/path]:             scheme=http
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> serverName=server.host
> 2003-08-19 17:27:02 RequestDumperValve[/path]:         serverPort=80
> 2003-08-19 17:27:02 RequestDumperValve[/path]:        servletPath=null
> 2003-08-19 17:27:02 RequestDumperValve[/path]:
> isSecure=false
> 2003-08-19 17:27:02
> RequestDumperValve[/path]:
> -------------------------------------------------
> --------------
> 2003-08-19 17:27:20
> RequestDumperValve[/path]:
> -------------------------------------------------
> --------------
> 2003-08-19 17:27:20 RequestDumperValve[/path]:           authType=null
> 2003-08-19 17:27:20 RequestDumperValve[/path]:      contentLength=-1
> 2003-08-19 17:27:20 RequestDumperValve[/path]:
> contentType=text/xml;
> charset=utf-8
> 2003-08-19 17:27:20 RequestDumperValve[/path]:
> cookie=JSESSIONID=47447E2713208AC8220A1BAF587D19E5;
> domain=null; path=/path
> 2003-08-19 17:27:20 RequestDumperValve[/path]:
> header=Set-Cookie=JSESSIONID=47447E2713208AC8220A1BAF587D19E5;
>  Path=/path
> 2003-08-19 17:27:20 RequestDumperValve[/path]:
> header=Content-Type=text/xml; charset=utf-8
> 2003-08-19 17:27:20 RequestDumperValve[/path]:
> header=Date=Wed,
> 20 Aug 2003 00:27:20 GMT
> 2003-08-19 17:27:20 RequestDumperValve[/path]:
> header=Server=Apache Coyote/1.0
> 2003-08-19 17:27:20 RequestDumperValve[/path]:
> header=Connection=close
> 2003-08-19 17:27:20 RequestDumperValve[/path]:            message=null
> 2003-08-19 17:27:20 RequestDumperValve[/path]:         remoteUser=null
> 2003-08-19 17:27:20 RequestDumperValve[/path]:             status=200
> 2003-08-19 17:27:20 RequestDumperValve[/path]:
> ===============================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to