Quote:
Originally Posted by kabindra
Hi,
I am hosting tomcat in Red hat 5.0 for web services. I have a customer connecting to our web services to download the pdf files using Curl program.
The problem I am facing now is whenever the curl sends the soap request the file over 2MB it fails. Does anybody knows if there is a file size limitation in tomcat that I am missing. As I know upload limitation can be control in server.xml file.
Any feedback will be helpful.
|
The first one I can think of is that you're using RHEL 5.0...it is
ANCIENT, UNSUPPORTED, and VERY INSECURE. Stop using it immediately, since that is the likely source of most (if not ALL) of your problems. Current Tomcat probably won't even work on something so old, and if you did manage to shoehorn it on, it'll probably give you difficulties. Since your customer is connecting to your 'web services', why on earth are you using something unpatched and insecure for your CUSTOMER DATA????? Load the latest RHEL and
PAY FOR SUPPORT...if you're not going to pay, load the latest version of CentOS, load tomcat from the repositories, and continue.
And did you read about how to configure Tomcat??? Look at the maxPostSize variable.