Hi Chris,
Thanks for reply first.
It may be the reason and may not. I compare the headers that tomcat
actually received and the header that is supposed to be. the headers
that tomcat actually received eliminated all the non-standard header
attributes and added one more "content-length=0". It looked like apache
server did it "intentionally".


-----Original Message-----
From: Chris Mooring [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 18, 2006 10:11 AM
To: Tomcat Users List
Subject: RE: Problem with JK connector


Hi Michael,

Could it be that your request headers are > 8K ? I was having some funny
issues with JK2 this week where my page would suddenly show some sort of
c stack trace about a BufferOverFlow Exception (we are no longer using
JK2), but someone sent me this information;

"It looks like requests can only be 8k long:
<http://tomcat.apache.org/tomcat-4.1-doc/jk2/common/ajpv13a.html>

What happens if the request headers > max packet size? There is no
provision to send a second packet of request headers in case there are
more than 8K (I think this is correctly handled for response headers,
though I'm not certain). I don't know if there is a way to get more than
8K worth of data into that initial set of request headers, but I'll bet
there is (combine long cookies with long ssl information and a lot of
environment variables, and you should hit 8K easily). I think the
connector would just fail before trying to send any headers in this
case, but I'm not certain.

http://tomcat.apache.org/tomcat-5.0-doc/catalina/docs/api/constant-value
s.ht
ml#org.apache.ajp.Ajp13.MAX_READ_SIZE
"

Hopefully this is of some use.

Chris

-----Original Message-----
From: Michael Li [mailto:[EMAIL PROTECTED] 
Sent: 18 January 2006 15:08
To: users@tomcat.apache.org
Subject: Problem with JK connector

Hi there,

Currently we use apache 1.3 and tomcat 4.1.31. We tried to connect them
through JK. Everything works fine, except some special http headers are
gone.=20 Because we user entrust direct, which will set some special
http header in the http request. The servlets will check those headers
to check the user identity. =20 If you have any tips, please let me
know.

 

Thanks! 

michael



Connaught honoured AIM 'Decade of Excellence' Award 

Connaught awarded Partnering Contractor of the Year 2005 

Connaught wins AIM 'Company of the Year' award 2004 

West of England Business of the Year Award Winner 2003 

Why not visit our website http://www.connaught.plc.uk 

Disclaimer: 
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.  If you
received this in error, please contact the sender and delete this
message. 

Connaught plc, Head Office 01392 444546 

The presence of this footer indicates that this message has been scanned
for viruses by Network Associates Group Shield

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


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

Reply via email to