tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cost...@covalent.net
Subject RE: [4.1.6] New milestone release soon
Date Wed, 10 Jul 2002 00:03:10 GMT
Ok, I tried and I can't reproduce it.

I used an app doing big posts/gets - it all works fine for 
me. 

If you can provide code to reproduce it ( like a servlet and
an java client ) - it would be great. 

All I can figure from the log:

> [Wed Jul 03 15:24:36 2002]  [jk_ajp_common.c (701)]: received from ajp13 #11
> [Wed Jul 03 15:24:36 2002]  [mod_jk.c (340)]: writing 7 (-1) out of 7

That basically means ap_rwrite() returned -1, when attempting to send 7
bytes. That may mean the browser closed the connection - possibly 
because of a mismatch between the content length and what was sent.

It seems you use an older version of mod_jk - the line numbers on
ajp_common.c doesn't match. If you can try again with the latest,
I can do more guessing. But without a reproduction I can't help
more.

One problem is in the fragmentation of the output - I'll
investigate this a bit more. It seems we're sending 8k buffers, and 
that gets fragmented in 2 packets because the ajp buffer is 8k and 
7 bytes are used for the header. But that shouldn't create a problem.
( we just need to find a way for jk2 to change the buffer size without
braking the backward compat !)


Costin




> [Wed Jul 03 15:24:36 2002]  [jk_ajp_common.c (935)]: Error
> ajp_process_callback - write failed
> [Wed Jul 03 15:24:36 2002]  [jk_ajp_common.c (1349)]: Into
> jk_endpoint_t::done, closing connection 0
> [Wed Jul 03 15:24:36 2002]  [jk_ajp_common.c (536)]: In
> jk_endpoint_t::ajp_close_endpoint
> [Wed Jul 03 15:24:36 2002]  [jk_ajp_common.c (543)]: In
> jk_endpoint_t::ajp_close_endpoint, closed sd = 19
> 
> Any ideas?
> Dave.
> 
> > -----Original Message-----
> > From: costinm@covalent.net [mailto:costinm@covalent.net]
> > Sent: 02 July 2002 17:49
> > To: Tomcat Developers List
> > Subject: RE: [4.1.6] New milestone release soon
> > 
> > Got it.
> > 
> > I'll check in, please test again.
> > 
> > Costin
> > 
> > On Tue, 2 Jul 2002, David Oxley wrote:
> > 
> > > Costin,
> > >
> > > I'm using RedHat 7.3, Apache 2.1.39, TC 4.1.6, mod_jk1, CoyoteJK2.
> > > I build a new mod_jk.so everytime I get a new Tomcat. So it is
> > definetley
> > > recent.
> > >
> > > I'm not sure what additional information to provide that hasn't already
> > been
> > > detailed in http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10018.
> > >
> > > Dave.
> > >
> > > > -----Original Message-----
> > > > From: costinm@covalent.net [mailto:costinm@covalent.net]
> > > > Sent: 01 July 2002 23:54
> > > > To: Tomcat Developers List
> > > > Subject: RE: [4.1.6] New milestone release soon
> > > >
> > > > On Mon, 1 Jul 2002, David Oxley wrote:
> > > >
> > > > > Costin,
> > > > >
> > > > > This problem still happens with 4.1.6.
> > > >
> > > > Ok, I need more details then.
> > > >
> > > > Are you sure the mod_jk is recent ?  Are you using mod_jk or mod_jk2 (
> > on
> > > > apache side )?
> > > > Any stack traces or message ?
> > > >
> > > > As I said, I'm doing large uploads/downloads currently, and it works
> > > > fine.
> > > >
> > > > Costin
> > > >
> > > >
> > > > >
> > > > > Dave.
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: costinm@covalent.net [mailto:costinm@covalent.net]
> > > > > > Sent: 26 June 2002 16:57
> > > > > > To: Tomcat Developers List
> > > > > > Subject: RE: [4.1.6] New milestone release soon
> > > > > >
> > > > > > On Wed, 26 Jun 2002, David Oxley wrote:
> > > > > >
> > > > > > > Remy,
> > > > > > >
> > > > > > > Bug 10018 is pretty serious. Coyote-JK2 won't serve a resource
> > > > (might
> > > > > > apply
> > > > > > > to dynamic content as well as static) that's bigger than
8k.
> > > > > > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10018
> > > > > >
> > > > > > Are you using a nightly ? I fixed the bug few days ago, I'm
> > > > > > constantly doing large posts with jk2 in my day job.
> > > > > >
> > > > > > Please let me know ASAP if you still have this problem !
> > > > > >
> > > > > > Costin
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > Dave.
> > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Remy Maucherat [mailto:remm@apache.org]
> > > > > > > > Sent: 26 June 2002 12:14
> > > > > > > > To: Tomcat Developers List
> > > > > > > > Subject: [4.1.6] New milestone release soon
> > > > > > > >
> > > > > > > > There are only a few issues remaining:
> > > > > > > > - Updating JNDI resources with the admin webapp is
not dynamic
> > > > (for
> > > > > > > > reasons currently beyond my understanding). Doing
a stop/start
> > on
> > > > the
> > > > > > > > context allows to pick up the changes, so the bug
is only
> > minor.
> > > > > > > > - Nacho's IIS issues with JK 2.
> > > > > > > > - Costin's bug with Jasper 2.
> > > > > > > >
> > > > > > > > None of these are showstoppers IMO, but it would be
best to
> > have
> > > > them
> > > > > > > > fixed before the release is tagged (the objective
being to get
> > > > back to
> > > > > > > > beta status). By friday maybe ?
> > > > > > > >
> > > > > > > > Remy
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:   <mailto:tomcat-dev-
> > > > > > > > unsubscribe@jakarta.apache.org>
> > > > > > > > For additional commands, e-mail: <mailto:tomcat-dev-
> > > > > > > > help@jakarta.apache.org>
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:   <mailto:tomcat-dev-
> > > > > > unsubscribe@jakarta.apache.org>
> > > > > > > For additional commands, e-mail: <mailto:tomcat-dev-
> > > > > > help@jakarta.apache.org>
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:   <mailto:tomcat-dev-
> > > > > > unsubscribe@jakarta.apache.org>
> > > > > > For additional commands, e-mail: <mailto:tomcat-dev-
> > > > > > help@jakarta.apache.org>
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:   <mailto:tomcat-dev-
> > > > unsubscribe@jakarta.apache.org>
> > > > > For additional commands, e-mail: <mailto:tomcat-dev-
> > > > help@jakarta.apache.org>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:   <mailto:tomcat-dev-
> > > > unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail: <mailto:tomcat-dev-
> > > > help@jakarta.apache.org>
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:tomcat-dev-
> > unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: <mailto:tomcat-dev-
> > help@jakarta.apache.org>
> > >
> > >
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:tomcat-dev-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-dev-
> > help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
> 
> 




--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message