file upload problem

1,158 views
Skip to first unread message

hps

unread,
Sep 12, 2008, 6:26:58 AM9/12/08
to epubcheck, d.ku...@netgroup.de
Hello,

I successfully deployed epubcheck.war with tomcat and tried to upload
the first epub file. But I got an error (see below). How do I have to
configure tomcat in order to get rid of this error:

Internal Server Error
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException:
Processing of multipart/form-data request failed. upload/
upload_5d88617c_11b696ce026__7ffe_00000005.tmp (No such file or
directory)
at
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:
359)
at
org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:
126)
at
com.adobe.epubcheck.web.EpubCheckServlet.doPost(EpubCheckServlet.java:
61)
[some lines omitted]
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: upload/
upload_5d88617c_11b696ce026__7ffe_00000005.tmp (No such file or
directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
[some lines omitted]
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)
... 19 more

Thanks a lot in advance

Hans-Peter

soro...@gmail.com

unread,
Sep 12, 2008, 1:42:56 PM9/12/08
to epubcheck
It seems that you need to create a folder named upload in the tomcat
folder (at the same level where webapps, conf, bin etc. are) and make
sure it has write permissions for the tomcat process.

Which OS do you use?

Peter

On Sep 12, 3:26 am, hps <stric...@epublius.de> wrote:
> Hello,
>
> I successfully deployed epubcheck.war with tomcat and tried to upload
> the first epub file. But I got an error (see below). How do I have to
> configure tomcat in order to get rid of this error:
>
> Internal Server Error
> org.apache.commons.fileupload.FileUploadBase$IOFileUploadException:
> Processing of multipart/form-data request failed. upload/
> upload_5d88617c_11b696ce026__7ffe_00000005.tmp (No such file or
> directory)
>         at
> org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.ja­va:
> 359)
>         at
> org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Servle­tFileUpload.java:
> 126)
>         at
> com.adobe.epubcheck.web.EpubCheckServlet.doPost(EpubCheckServlet.java:
> 61)
>         [some lines omitted]
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.io.FileNotFoundException: upload/
> upload_5d88617c_11b696ce026__7ffe_00000005.tmp (No such file or
> directory)
>         at java.io.FileOutputStream.open(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>         [some lines omitted]
>         at
> org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOut­putStream.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.ja­va:
Reply all
Reply to author
Forward
0 new messages