Hi all,

I am encountering a POST request truncation issue on JBoss 3.2.3(and 3.2.5 for that 
matter with Tomcat 5, even with maxPostSize explicitly set to a big value).

The server application I am writing mandates me to use specific MIME-types in 
Content-Type HTTP header, therefore I cannot use the usual file upload tricks like 
multi-part/form-data. for uploading big files. Instead the application spec I am 
adhering to forces me to BASE64-encode the files and encloses them within XML(don't 
ask me why, I just follow the spec) and post this XML data in the request body of a 
POST request. As you can guess, the POST request can get arbitrarily huge. 

I am using JBoss 3.2.3 and 3.2.5, and in both cases, I notice the POST request gets 
truncated. In 3.2.3 case(Tomcat 4), it gets truncated to around 50kbytes. In 3.2.5 
case(Tomcat 5), it gets truncated to 4kbytes!! To test this, I just write a 
plain-vanilla servlet and in the doPost() method, I just count the bytes I actually 
read from HttpServletRequest. I try the same test on WebLogic 8.1 SP2, and it works 
fine(at the very least, for 500kbyte and 1Mbyte files). 

I am not too verbose in JBoss so I am sure there may be some magic config file/switch 
I can use to make it work. I really really appreciate any info you can share with me! 
Many thanks!

Regards,
Pete

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841941#3841941

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841941


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to