RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread Woodchuck
--- Caldarale, Charles R [EMAIL PROTECTED] wrote:

  From: Woodchuck [mailto:[EMAIL PROTECTED] 
  Subject: RE: obscure tomcat 5.5 text file display bug? [Bugzilla
 candidate?]
  
  here is the relevant header info from Tomcat 4.1:
  
  HTTP/1.x 200 OK
  Etag: W/1706-1120587147968
  Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
  Content-Type: text/plain
  Content-Length: 1706
  Date: Tue, 05 Jul 2005 20:59:46 GMT
  Server: Apache Coyote/1.0
  Proxy-Connection: Keep-Alive
  
  and here is the relevant header info from Tomcat 5.5:
  
  If-Modified-Since: Sun, 03 Jul 2005 18:42:58 GMT
  If-None-Match: W/1706-1120416178619
  HTTP/1.x 304 Not Modified
  Server: Apache-Coyote/1.1
  Date: Tue, 05 Jul 2005 19:57:35 GMT
 
 You've got apples and oranges here.  The 1st response actually
 includes
 the text, whereas the 2nd just tells the browser to use what it has
 already cached.  You need to try it again with the cache cleared
 prior
 to each request.
 
  - Chuck
 

alrighty, i've retested again.  same results.

each time prior to requesting the .txt file i cleared the cache of the
browser just to be sure.


header chunk generated by Tomcat 4.1 for a .txt file:

HTTP/1.1 200 
Server: Microsoft-IIS/5.0
Date: Wed, 06 Jul 2005 16:22:39 GMT
ETag: W/1706-1120587147968
Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
Content-Type: text/plain
Content-Length: 1706


header chunk generated by Tomcat 5.5 for a .txt file:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: W/1706-1120666790014
Last-Modified: Wed, 06 Jul 2005 16:19:50 GMT
Content-Length: 1706
Date: Wed, 06 Jul 2005 16:20:26 GMT


as the above shows, Tomcat 5.5 did not product the Content-Type:
text/plain when it served back the .txt file to the browser.

i also checked the Tomcat 5.5's conf/web.xml file and the mime mapping
for txt files is there.

mime-mapping
extensiontxt/extension
mime-typetext/plain/mime-type
/mime-mapping

i will enter this to Bugzilla then.  i'm guessing this is not likely to
be a Tomcat 5.5 configuration issue although i'm not 100% sure.

thanks to everyone who helped on this!

woodchuck




Sell on Yahoo! Auctions – no fees. Bid on great items.  
http://auctions.yahoo.com/

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



RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread Woodchuck
woohoo!  my first Bugzilla!!

http://issues.apache.org/bugzilla/show_bug.cgi?id=35632

:D

woodchuck


--- Woodchuck [EMAIL PROTECTED] wrote:

 --- Caldarale, Charles R [EMAIL PROTECTED] wrote:
 
   From: Woodchuck [mailto:[EMAIL PROTECTED] 
   Subject: RE: obscure tomcat 5.5 text file display bug? [Bugzilla
  candidate?]
   
   here is the relevant header info from Tomcat 4.1:
   
   HTTP/1.x 200 OK
   Etag: W/1706-1120587147968
   Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
   Content-Type: text/plain
   Content-Length: 1706
   Date: Tue, 05 Jul 2005 20:59:46 GMT
   Server: Apache Coyote/1.0
   Proxy-Connection: Keep-Alive
   
   and here is the relevant header info from Tomcat 5.5:
   
   If-Modified-Since: Sun, 03 Jul 2005 18:42:58 GMT
   If-None-Match: W/1706-1120416178619
   HTTP/1.x 304 Not Modified
   Server: Apache-Coyote/1.1
   Date: Tue, 05 Jul 2005 19:57:35 GMT
  
  You've got apples and oranges here.  The 1st response actually
  includes
  the text, whereas the 2nd just tells the browser to use what it has
  already cached.  You need to try it again with the cache cleared
  prior
  to each request.
  
   - Chuck
  
 
 alrighty, i've retested again.  same results.
 
 each time prior to requesting the .txt file i cleared the cache of
 the
 browser just to be sure.
 
 
 header chunk generated by Tomcat 4.1 for a .txt file:
 
 HTTP/1.1 200 
 Server: Microsoft-IIS/5.0
 Date: Wed, 06 Jul 2005 16:22:39 GMT
 ETag: W/1706-1120587147968
 Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
 Content-Type: text/plain
 Content-Length: 1706
 
 
 header chunk generated by Tomcat 5.5 for a .txt file:
 
 HTTP/1.1 200 OK
 Server: Apache-Coyote/1.1
 ETag: W/1706-1120666790014
 Last-Modified: Wed, 06 Jul 2005 16:19:50 GMT
 Content-Length: 1706
 Date: Wed, 06 Jul 2005 16:20:26 GMT
 
 
 as the above shows, Tomcat 5.5 did not product the Content-Type:
 text/plain when it served back the .txt file to the browser.
 
 i also checked the Tomcat 5.5's conf/web.xml file and the mime
 mapping
 for txt files is there.
 
 mime-mapping
 extensiontxt/extension
 mime-typetext/plain/mime-type
 /mime-mapping
 
 i will enter this to Bugzilla then.  i'm guessing this is not likely
 to
 be a Tomcat 5.5 configuration issue although i'm not 100% sure.
 
 thanks to everyone who helped on this!
 
 woodchuck
 
 
   
 
 Sell on Yahoo! Auctions – no fees. Bid on great items.  
 http://auctions.yahoo.com/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




__ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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



RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread GB Developer
Why does 4.x have:
HTTP/1.1 200 
Server: Microsoft-IIS/5.0

and 5.x have:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1


Are you fronting 4.x with IIS, and not 5.x?  That is one config difference
that you'll need to dispense with, in order to be fairly comparing the two.

Mike Curwen


 
 header chunk generated by Tomcat 4.1 for a .txt file:
 
 HTTP/1.1 200 
 Server: Microsoft-IIS/5.0
 Date: Wed, 06 Jul 2005 16:22:39 GMT
 ETag: W/1706-1120587147968
 Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
 Content-Type: text/plain
 
 
 header chunk generated by Tomcat 5.5 for a .txt file:
 
 HTTP/1.1 200 OK
 Server: Apache-Coyote/1.1
 ETag: W/1706-1120666790014
 Last-Modified: Wed, 06 Jul 2005 16:19:50 GMT
 Date: Wed, 06 Jul 2005 16:20:26 GMT
 


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



RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread Woodchuck
ack!  you are right!  thanks for noticing this.  actually, they are
both setup with JK connector redirecting from IIS to Tomcat (let me
know if you want to know why one is different from the other.. it's a
longer story)

at any rate, let me test again by accessing both directly without using
IIS (ie. port 8080).


woodchuck
 

--- GB Developer [EMAIL PROTECTED] wrote:

 Why does 4.x have:
 HTTP/1.1 200 
 Server: Microsoft-IIS/5.0
 
 and 5.x have:
 HTTP/1.1 200 OK
 Server: Apache-Coyote/1.1
 
 
 Are you fronting 4.x with IIS, and not 5.x?  That is one config
 difference
 that you'll need to dispense with, in order to be fairly comparing
 the two.
 
 Mike Curwen
 
 
  
  header chunk generated by Tomcat 4.1 for a .txt file:
  
  HTTP/1.1 200 
  Server: Microsoft-IIS/5.0
  Date: Wed, 06 Jul 2005 16:22:39 GMT
  ETag: W/1706-1120587147968
  Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
  Content-Type: text/plain
  
  
  header chunk generated by Tomcat 5.5 for a .txt file:
  
  HTTP/1.1 200 OK
  Server: Apache-Coyote/1.1
  ETag: W/1706-1120666790014
  Last-Modified: Wed, 06 Jul 2005 16:19:50 GMT
  Date: Wed, 06 Jul 2005 16:20:26 GMT
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




__ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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



RE: obscure tomcat 5.5 text file display bug? [Bugzilla confirmed]

2005-07-06 Thread Woodchuck
phew! (relief)  the results are the same...

both Tomcat version instances accessed directly via port 8080 (not
through IIS).  cleared cache each time prior to requesting TXT file.


header chunk from Tomcat 4.1 when serving a TXT file:

HTTP/1.1 200 OK
ETag: W/1706-1120587147968
Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
Content-Type: text/plain
Content-Length: 1706
Date: Wed, 06 Jul 2005 18:54:08 GMT
Server: Apache Coyote/1.0


header chunk from Tomcat 5.5 when serving a TXT file:

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: W/1706-1120666790014
Last-Modified: Wed, 06 Jul 2005 16:19:50 GMT
Content-Length: 1706
Date: Wed, 06 Jul 2005 18:57:00 GMT


thanks again, Mike, for noticing the IIS difference.  i would hate to
have filed my first Bugzilla falsely... -_-


woodchuck



--- Woodchuck [EMAIL PROTECTED] wrote:

 ack!  you are right!  thanks for noticing this.  actually, they are
 both setup with JK connector redirecting from IIS to Tomcat (let me
 know if you want to know why one is different from the other.. it's a
 longer story)
 
 at any rate, let me test again by accessing both directly without
 using
 IIS (ie. port 8080).
 
 
 woodchuck
  
 
 --- GB Developer [EMAIL PROTECTED] wrote:
 
  Why does 4.x have:
  HTTP/1.1 200 
  Server: Microsoft-IIS/5.0
  
  and 5.x have:
  HTTP/1.1 200 OK
  Server: Apache-Coyote/1.1
  
  
  Are you fronting 4.x with IIS, and not 5.x?  That is one config
  difference
  that you'll need to dispense with, in order to be fairly comparing
  the two.
  
  Mike Curwen
  
  
   
   header chunk generated by Tomcat 4.1 for a .txt file:
   
   HTTP/1.1 200 
   Server: Microsoft-IIS/5.0
   Date: Wed, 06 Jul 2005 16:22:39 GMT
   ETag: W/1706-1120587147968
   Last-Modified: Tue, 05 Jul 2005 18:12:27 GMT
   Content-Type: text/plain
   
   
   header chunk generated by Tomcat 5.5 for a .txt file:
   
   HTTP/1.1 200 OK
   Server: Apache-Coyote/1.1
   ETag: W/1706-1120666790014
   Last-Modified: Wed, 06 Jul 2005 16:19:50 GMT
   Date: Wed, 06 Jul 2005 16:20:26 GMT
   
  
  
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
 
 
 
   
 __ 
 Yahoo! Mail for Mobile 
 Take Yahoo! Mail with you! Check email on your mobile phone. 
 http://mobile.yahoo.com/learn/mail 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




__ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 


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