RE: Error 200?

2002-02-07 Thread Anton Brazhnyk

Hi,

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
 Behalf Of Gary Lawrence Murphy
 Sent: Wednesday, February 06, 2002 5:48 PM
 To: Tomcat Users
 Subject: Error 200?
 
 
 
 I have a client who wrote a bunch of JSP pages that all return a
 tomcat Error 200 in the middle of the headers; because the error
 message is wrapped in blank lines, the message terminates the HTTP
 headers causing itself and any subsequent headers to be printed on
 the html page.
 
 I search the archives and Google for this error and while I found
 no information about a potential cause, I did see many JSP pages
 which inadvertently got themselves indexed with this message as
 their very first line ;)
 
 What is Error 200?
 

Headers cant contain blank llines, and I have no idea what your client
wanted with that Error 200. Tomcat uses HTTP status codes and
200 is OK (no error)

 -- 
 Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
 Business Innovations Through Open Source Systems: http://www.teledyn.com
 Computers are useless.  They can only give you answers.(Pablo Picasso)
 
 

Anton.

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Error 200?

2002-02-07 Thread Ignacio J. Ortega

 De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de
 Gary Lawrence Murphy
 Enviado el: miƩrcoles 6 de febrero de 2002 16:48

 I have a client who wrote a bunch of JSP pages that all return a
 tomcat Error 200 in the middle of the headers; because the error
 message is wrapped in blank lines, the message terminates the HTTP
 headers causing itself and any subsequent headers to be printed on
 the html page.


MayBe you are using Tomcat 3.2.X and what you see is related to
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=356 ??

In this case upgrading to 3.3 or 4.X, are the way to go..

Saludos ,
Ignacio J. Ortega

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Error 200?

2002-02-07 Thread Gary Lawrence Murphy

 A == Anton Brazhnyk [EMAIL PROTECTED] writes:

A Headers cant contain blank llines, and I have no idea what your
A client wanted with that Error 200. 

Precisely; this error appears to be generated from either Tomcat or
Jasper and is not likely in my client's code (it would be highly
irregular of them to use numerical codes)

Because the error is being emitted across the servlet output stream
during the transmission of headers, and because it is wrapped in
blank lines, it appears on the page as content.

if you do a google search for JSP Error 200 you will see they are
not alone: This appears to be a common problem with JSP pages, so its
surprising no one has reported it and that the fix is not common
knowledge.  

My guess is that it is the sort of error that crops up due to
mis-configuration and most sites discover the config glitch, fix it,
and the code goes away so they never report it.

What I'm hoping is someone familiar with the sources can check the
tomcat/jasper sources to see if it is in there somewhere (or maybe
mod_jk?) as this error is itself an error: It should report to the
stderr log, not the servlet output stream.

-- 
Gary Lawrence Murphy [EMAIL PROTECTED] TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
Computers are useless.  They can only give you answers.(Pablo Picasso)


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]