Hello,
I'm having trouble with my Apache2/Tomcat 5 via JK setup. Most
requests are completed fine, but large requests (large is over 64K)
are truncated. I get a variable amount of data back. I'm testing this
using wget (a simple command line http client). When I go directly to
Tomcat, I get all 128K of data back every time. When I go through
Apache, I get a different amount of data back every time (I've seen
between 68K and 105K).
I also have a stock version of Apache 1.3 on my OS X server, so I
tested this out with that and everything worked fine. This leads me
to believe that this is some issue with Apache2. (I'm not sure about
all the versions that I was using in this test as I didn't install
them.)
At first I thought this was a JkShmSize issue. So I jacked this way
up. But that didn't fix the problem. (I also noticed that there were
a number of examples on the web that tried to configure this
directive using a string like '10M'. This doesn't work. Or should it?
When I looked at the code, I saw that it reads the value using atoi,
then multiplies by 1024.)
Here's what I've got:
Mac OS X 10.4.3
Apache 2.0.52 MPM
JK 2.0.14 (downloaded from http://www.apache.org/dist/tomcat/tomcat-
connectors/jk/binaries/macosx/jk-1.2.14/jakarta-tomcat-connectors-
jk-1.2.14-macosx-apache-2.0.54.so)
Tomcat config:
<Connector port="8009" enableLookups="false"
redirectPort="8443" debug="0" protocol="AJP/1.3"/>
Apache config:
JkWorkersFile /sw/etc/apache2/workers.properties
JkLogFile /sw/var/apache2/logs/jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkShmFile /sw/var/apache2/run/jk.shm
JkShmSize 32768
JkMount /karta/* tomcat
JkMount /kartaadmin/* tomcat
Thanks for any help. I've been trying to figure tis one out for a few
days now.
Ian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]