commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wglasshus...@gmail.com>
Subject [FileUpload] Windows path problem
Date Sun, 24 Feb 2008 05:38:08 GMT
Hi,

I just moved a Turbine based app from one server to another (Windows 2003).
On the new server, I can't upload any files greater than the in-memory
threshold.  It's having some type of permission issue with the path.

I'm a bit puzzled. I set the directory c:\turbine\temp to let Everyone have
'Full Control' and it gives the same error.  Even running the Tomcat service
as an Administrator doesn't help.

Any suggestions?  I'm running Turbine 3.2, File Upload 1.2, Commons IO 1.3.1
.

Stack trace:

Caused by:
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException:Processing
of multipart/form-data request failed.
\turbine\temp\upload__31aec560_11849e39162__8000_00000001.tmp (The system
cannot find the path specified)
    at org.apache.commons.fileupload.FileUploadBase.parseRequest(
FileUploadBase.java:359)
    at org.apache.commons.fileupload.FileUploadBase.parseRequest(
FileUploadBase.java:302)
    at org.apache.commons.fileupload.DiskFileUpload.parseRequest(
DiskFileUpload.java:209)
    at org.apache.turbine.services.upload.TurbineUploadService.parseRequest(
TurbineUploadService.java:221)
    ... 26 more
Caused by: java.io.FileNotFoundException:
\turbine\temp\upload__31aec560_11849e39162__8000_00000001.tmp (The system
cannot find the path specified)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at
org.apache.commons.io.output.DeferredFileOutputStream.thresholdReached(
DeferredFileOutputStream.java:123)
    at org.apache.commons.io.output.ThresholdingOutputStream.checkThreshold(
ThresholdingOutputStream.java:220)
    at org.apache.commons.io.output.ThresholdingOutputStream.write(
ThresholdingOutputStream.java:127)
    at org.apache.commons.fileupload.util.Streams.copy(Streams.java:101)
    at org.apache.commons.fileupload.util.Streams.copy(Streams.java:64)
    at org.apache.commons.fileupload.FileUploadBase.parseRequest(
FileUploadBase.java:354)


Best, WILL

-- 
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message