> One other thing: in the course of getting this all working, I
> fixed what seemed to me to be a very serious bug with regard to
> the persistent connection between the web server and the
> container.  Basically, the read position into the buffer of
> request data wasn't getting properly reset to 0 for each new
> request, so reads would start in the middle of the request data
> in certain cases.  At least, that's what I found while I was
> working on this, but it seems inconceivable to me that this would
> have been out there without people complaining -- during my
> testing it was very confusing -- since it depended on what had
> happened during the previous Request, it seemed totally
> arbitrary.  Does this ring any bells for anyone?  If so, then
> I've fixed it ;-)

That sounds like a problem I was having with ajp13:  It seemed that random
requests would return no-data on JSPs.  This was when I was first setting up
Tomcat over here, so I went back to ajp12 for the time being, but it sounds
like this could have been the problem.  Thanks for the fix.  ;-)

Now if someone can modify the mod_jk connector to reopen connections to
Tomcat after Tomcat is restarted I'll be very happy.  Maybe I should brush
up on my C socket programming when I get some spare time.  ;-)

-Dave

Reply via email to