tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arieh Markel <Arieh.Mar...@central.sun.com>
Subject Re: More problems with migration to 3.2
Date Mon, 28 Aug 2000 17:27:43 GMT

> Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm
> X-No-Archive: yes
> list-help: <mailto:tomcat-dev-help@jakarta.apache.org>
> list-unsubscribe: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> list-post: <mailto:tomcat-dev@jakarta.apache.org>
> Delivered-To: mailing list tomcat-dev@jakarta.apache.org
> From: cmanolache@yahoo.com
> To: tomcat-dev@jakarta.apache.org
> Subject: Re: More problems with migration to 3.2
> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
> 
> Wait  -  are you using 3.2 or 3.3 ???

I was using the nightly build of 8/16.

Where does 3.2 end and where does 3.3 begin ?

Arieh

> 
> OutputBuffer is in 3.3 ( development code, unstable, etc) !
> 
> 
> Costin
> 
> >         . isUsingWriter = false
> >         . isStarted     = false
> >         . writer        = null
> >         . oBuffer       = not null
> >
> > (bBuffer is no longer used, oBuffer is used instead).
> >
> > Not content with that information, I also implemented a 'getCount()' method
> > on OutputBuffer. I proceeded to print out the count on the Response.finish()
> > method, only to find out that the length is zero.
> >
> > ----
> >
> > Further, I proceeded to instrument the OutputBuffer class to see what
> > the conditions are for the buffer state at the time of invocation of
> > finish(). The output indicates that it is in INITIAL_STATE (on which the
> > OutputBuffer performs a NO-OP).
> >
> > I also instrumented OutputBuffer.recycle() to see when that happens too.
> >
> > ----
> >
> > Interestingly enough, I can see that the behavior is not totally consistent.
> > For example, my application has a servlet called 'simpleLogViewer' which
> > is expected to generate output to a specific frame in the HTML page.
> >
> > There was a case in my run/debug/instrumentation that it managed to
> > generate output, while in the rest of them it produced no output.
> >
> > In general, in all those cases where output is not generated, I see that
> > the ServletWriterFacade.println() method gets invoked, but there is
> > no corresponding HttpResponseAdapter.doWrite() call.
> >
> > In such circumstances, the Response.finish() method is invoked, but the
> > buffer has already been reset (it is in INITIAL_STATE).
> >
> > Arieh
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

--
 Arieh Markel		                Sun Microsystems Inc.
 Network Storage                        500 Eldorado Blvd. MS UBRM11-194
 e-mail: arieh.markel@sun.COM           Broomfield, CO 80021
 Let's go Panthers !!!!                 Phone: (303) 272-8547 x78547
 (e-mail me with subject SEND PUBLIC KEY to get public key)


Mime
View raw message