Re: tomcat question

2002-06-08 Thread Ben Cox

Keith, et.al,
   Is there any way to do disable chunking on Tomcat 3.0?  We are 
running a somewhat older application on it with jdk1.2.2, and Apache 
1.3.12, on Red Hat Linux (kernel 2.4.17).
   We've ended up in a bit of a time crunch, need to get rid of 
chunking, and would be spared some time and pressure if we could upgrade 
and test all of these later, and more thoroughly, since it's a live 
server.  If it's at all possible to easily disable chunking with this 
combination, we'd sure love to hear how!
   Thanks,

 Ben

Keith Wannamaker wrote:
 tomcat questionThere was a bug in j-t-c that was fixed a few days ago that
 caused
 requests to be chunked even if the content-length was known.
 You should build tomcat-util from jakarta-tomcat-connectors
 and replace the one in your tomcat install with it.
 
 Otherwise, you could always use the http10 connector instead.
 
 Keith
 
   -Original Message-
   From: Carlos Pizano [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, June 06, 2002 5:04 PM
   To: [EMAIL PROTECTED]
   Subject: tomcat question
 
 
   Sorry to bother you, but I have searched a lot for this question... to no
 avail.
 
   How can I disable chunking (Transfer-Encoding: chunked) output on Tomcat ?
 
   It seems that anything served with Tomcat is chunked. I need to disable
 that
   behavior that HTTP1.1 says is optional...
 
   Thanks in advance,
 
 
 
   Carlos Pizano
   Chief Technology Officer
   Elisar Software Corporation
   2500 Louisiana Blvd. NE Suite 400
   Albuquerque, NM 87110
   Tel: (505)884-1918
   Fax: (505)884-1806
   [EMAIL PROTECTED]
 
 
 
 




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




Re: tomcat question

2002-06-08 Thread Ben Cox

This is very helpful.  Seems to work quite well.  I put in:

 BrowserMatch .* nokeepalive downgrade-1.0 force-response-1.0

which even works for telnet if you put a User-Agent header in there.

Interestingly, we'd tried:
   Location /servlets
  SetEnv downgrade-1.0 force-response-1.0
   /Location
in the same virtual host, and it didn't work. Any idea why not?

Thanks for your help, James!

 Ben

James Ward wrote:
 Ben,
 I am not sure if this works, but on one of my servers that has a very
 similar configuration to yours (Tomcat  Apache) we might have fixed
 this.  We are doing this in a Virtual Host:
 BrowserMatch Mozilla/2 nokeepalive downgrade-1.0 force-response-1.0
 
 You could adapt that to always force the downgrade and response to
 HTTP1.0 instead of HTTP1.1 if that is what you want.
 
 We had to implement this because of IE's SSL problems.
 
 Hope that helps.
 
 -James
 
 
 
-Original Message-
From: Ben Cox [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 08, 2002 3:24 PM
To: Tomcat Users List
Cc: Carlos Pizano
Subject: Re: tomcat question

Keith, et.al,
   Is there any way to do disable chunking on Tomcat 3.0?  We are
running a somewhat older application on it with jdk1.2.2, and Apache
1.3.12, on Red Hat Linux (kernel 2.4.17).
   We've ended up in a bit of a time crunch, need to get rid of
chunking, and would be spared some time and pressure if we could
 
 upgrade
 
and test all of these later, and more thoroughly, since it's a live
server.  If it's at all possible to easily disable chunking with this
combination, we'd sure love to hear how!
   Thanks,

 Ben

Keith Wannamaker wrote:

tomcat questionThere was a bug in j-t-c that was fixed a few days

 ago
 
that

caused
requests to be chunked even if the content-length was known.
You should build tomcat-util from jakarta-tomcat-connectors
and replace the one in your tomcat install with it.

Otherwise, you could always use the http10 connector instead.

Keith

  -Original Message-
  From: Carlos Pizano [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, June 06, 2002 5:04 PM
  To: [EMAIL PROTECTED]
  Subject: tomcat question


  Sorry to bother you, but I have searched a lot for this

 question... to
 
no

avail.

  How can I disable chunking (Transfer-Encoding: chunked) output on

Tomcat ?

  It seems that anything served with Tomcat is chunked. I need to

disable

that
  behavior that HTTP1.1 says is optional...

  Thanks in advance,



  Carlos Pizano
  Chief Technology Officer
  Elisar Software Corporation
  2500 Louisiana Blvd. NE Suite 400
  Albuquerque, NM 87110
  Tel: (505)884-1918
  Fax: (505)884-1806
  [EMAIL PROTECTED]








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




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




800 Meg /bin/core file??

2001-08-06 Thread Ben Cox

Hi,
  I was happily copying some directory structures from one machine to
another when my FTP client came across a file called 'core' in my
tomcat's bin directory.  This file was (and is) 821,313,536 bytes. 
Anyone have the slightest idea what this file is and how it would grow
so large?
  Thanks in advance,

Ben