The connector element you posted has it correctly. I wouldn't try the
short form "10MB" though -- the docs don't mention that as a valid way
of expressing the value.
As far as updating a production service, it's always best to try it in a
parallel test environment. If that's not an option, then make a copy of
the existing server.xml and roll back to it if the change has unwanted
side effects. In this case I doubt there will be any.
--David
Sandeep Darvekar wrote:
Just to reconfirm, my server.xml should have connector element as
<Connector port="8085" maxPostSize="10485760" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
Where I am setting maxPostSize="10MB"
Please correct me if I am wrong. I will be doing this change on production
server where I am facing this issue and cannot test this in staging as we
cannot reproduce this problem there.
Thanks for sending me the quick reply.
Thanks
Sandeep Darvekar
Persistent Systems Pvt. Ltd. India
Ph: +1-408-406-1282 (Cell)
Ph: +91-98811-52525 (Cell, India)
Ph: +91-20-3023-4692 (Office, India)
-----Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 24 September, 2006 8:16 PM
To: Tomcat Users List
Subject: RE: Upload Exception - Time out error
From: Sandeep Darvekar [mailto:[EMAIL PROTECTED]
Subject: RE: Upload Exception - Time out error
Thanks for refereeing to this link. However when I looked at
server.xml that I have on my tamcat installation it does not
show any attribute with name maxPostSize.
Read the doc, not your server.xml - maxPostSize is an attribute of the
<Connector> element, and has a default value of 2MB. Once more, with
feeling:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the
property of Persistent Systems Pvt. Ltd. It is intended only for the use of the
individual or entity to which it is addressed. If you are not the intended
recipient, you are not authorized to read, retain, copy, print, distribute or
use this message. If you have received this communication in error, please
notify the sender and delete all copies of this message. Persistent Systems
Pvt. Ltd. does not accept any liability for virus infected mails.
--
David Smith
Network Operations Supervisor
Department of Entomology
Cornell University
2132 Comstock Hall
Ithaca, NY 14853
Phone: (607) 255-9571
Fax: (607) 255-0940
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]