Are you using struts?

Make sure your controller element tempDir property value matches that of the 
web apps context element's workDir.  The workDir is where uploaded files over a 
certain size (256KB is the default I think) will be written prior to their 
final destination.  Perhaps Jboss has a working directory that needs to match 
as well.  Hmmmm.


-----Original Message-----
From: Gareth Williams [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 19, 2005 7:31 AM
To: Tomcat Users List
Subject: RE: Can't multipart post large(ish) files via Tomcat 5.0.28

Using commons-fileupload results in the same problem.  I looked at the source, 
and the commons class FileUploadBase gets its input stream from the 
HttpServletRequest (as you would expect :) and hence I get the same 
errors/problematic behaviour.  Whatever is going wrong would appear to be 
either within Tomcat or within the underlying windows socket tcp/ip stuff 

I am surprised nobody else seems to have hit this upload problem given the 
number of people using Tomcat5.0.28 + Jboss 3.2.6.  Has anyone got any ideas?

Cheers, Gareth

#####################################################################################
Winner - e-Government excellence 2004. 
Runner up - European Information Management awards 2004:
- The Premier Project Award. 
- B2C Commerce Project Award. 
- CRM Project Award. 

For more information visit us at www.voxgen.com

#####################################################################################
Note:
This message is for the named person's use only.  It may contain confidential, 
proprietary or legally privileged information.  No confidentiality or privilege 
is waived or lost by any mistransmission.  If you receive this message in 
error, please immediately delete it and all copies of it from your system, 
destroy any hard copies of it and notify the sender.  You must not, directly or 
indirectly, use, disclose, distribute, print, or copy any part of this message 
if you are not the intended recipient. Vox Generation Limited and any of its 
subsidiaries each reserve the right to monitor all e-mail communications 
through its networks.

Any views expressed in this message are those of the individual sender, except 
where the message states otherwise and the sender is authorised to state them 
to be the views of any such entity.

Thank You.
#####################################################################################

#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared by 
NetIQ MailMarshal 
#####################################################################################

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to