----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I am new to list and hope this has not been already addressed. I have a
possible bug report for ApacheJServ 1.1b2.

Here is my setup:

1. RedHat 6.1
2. ApacheJServ 1.1b2 (rpm version)
3. Apache 1.3.9 (rpm version)

Here is the explanation:

I recently installed 1.1b2 on my box and quickly found that
POST requests were being truncated. I played around with the src a
little in JServConnection and found that the req.getInputStream() was
returning the valid stream and the content-length was the appropriate
length. The postParameters hashtable, however, returned from
HttpUtils.parsePostData() had truncated values stored for keys. Even
more, some of the keys I was passing were simply missing. So it seems
that the body itself was not being fully read by the version of
HttpUtils that came with the ApacheJServ rpm distribution. To fix things
I replaced the JSDK lib with the one from Sun and everything is working
fine again.

So, in short, the JSDK lib (in particular the class
HttpUtils) accompanying the JServ rpm distribution is truncating the
POST body of requests.

John Carnahan




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to