'Page not found' Error During Doc Import
Symptoms
When initiating a "Doc Import" for a specific MS Word file, Confluence seems to be processing for some time, and then generates a "Page not found" error. This tends to happen with relatively large documents (eg: 12 MB). Smaller files seem to be getting imported, as expected.
The following appears in the atlassian-confluence.log
:
2009-07-29 16:25:21,446 ERROR [http-8080-1] [webwork.dispatcher.multipart.MultiPartRequest] <init> org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
– url: /pages/worddav/importword.action | userName: admin | referer: http://<Base URL>/pages/worddav/uploadimport.action?pageId=131153
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:367)
at com.atlassian.confluence.setup.webwork.JakartaMultiPartRequest.<init>(JakartaMultiPartRequest.java:70)
Caused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly
Cause
The Attachment maximum size
is configured for a size that is less than the above file size.
Resolution
Increase the file size via Administration >> General Configuration >> Attachment Settings >> Attachment Maximum Size"
, to suit your requirement. See Configuring Attachment Size.