You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2006/04/10 01:45:57 UTC

DO NOT REPLY [Bug 39257] New: - org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39257

           Summary: org.apache.commons.fileupload.FileUploadException:
                    Processing of multipart/form-data
           Product: Commons
           Version: 1.2 Final
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: File Upload
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: c.hillier@nf.sympatico.ca


This only happens when the upload is a pdf file of a scanned image and in our 
production environment where we are using https proctocol. In test environment, 
on same platform, using same file and http, we can uplaod the file without any 
problems. Also, we can upload text based pdf files and any other file types in 
our production environment(https) without any trouble. Below is a snapshot of 
the exception stack trace...


org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-
data
request failed. client timeout
	at org.apache.commons.fileupload.FileUploadBase.parseRequest
(FileUploadBase.java:384)
	at org.apache.commons.fileupload.FileUploadBase.parseRequest
(FileUploadBase.java:268)
	at org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest
(CommonsMultipartRequestHandler.java:195)
	at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:445)
	at org.apache.struts.action.RequestProcessor.processPopulate
(RequestProcessor.java:798)
	at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:205)
	at org.apache.struts.action.ActionServlet.process
(ActionServlet.java:1164)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
	at com.caucho.server.dispatch.ServletFilterChain.doFilter
(ServletFilterChain.java:99)
	at com.caucho.server.cache.CacheFilterChain.doFilter
(CacheFilterChain.java:188)
	at com.caucho.server.webapp.WebAppFilterChain.doFilter
(WebAppFilterChain.java:163)
	at com.caucho.server.dispatch.ServletInvocation.service
(ServletInvocation.java:208)
	at com.caucho.server.http.HttpRequest.handleRequest
(HttpRequest.java:259)
	at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363)
	at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
	at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
	at java.lang.Thread.run(Thread.java:595)


--------------------------------------------------------------------------------
Resin Professional 3.0.14 (built Tue, 05 Jul 2005 11:05:36 PDT)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 39257] - [fileupload] FileUploadException on processing multipart/form-data

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39257





------- Additional Comments From c.hillier@nf.sympatico.ca  2006-04-10 18:18 -------
It is not the size of the file and it works in production environment when 
using http.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 39257] - [fileupload] FileUploadException on processing multipart/form-data

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39257





------- Additional Comments From martinc@apache.org  2006-04-10 18:29 -------
Are you using IIS with the Isapi_Redirector? There are known problems with
certain versions of that. Check the mailing list archives for details.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 39257] - org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39257





------- Additional Comments From bayard@apache.org  2006-04-10 18:07 -------
Sounds very odd. Any obvious relationship between size of file and whether or not it works? 

The error of an IOException of 'client timeout' being thrown when reading the stream suggests its 
something environment based rather than fileupload-based. 

I'd:

a) See if it fails under HTTPS in the test environment.
b) See if failure in the production environment is tied to file size.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 39257] - [fileupload] FileUploadException on processing multipart/form-data

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39257





------- Additional Comments From c.hillier@nf.sympatico.ca  2006-04-19 16:21 -------
No, we are just using resin-pro 3.0.14. No apache, no IIS.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 39257] - [fileupload] FileUploadException on processing multipart/form-data

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39257





------- Additional Comments From martinc@apache.org  2006-04-19 20:44 -------
Have you disabled Resin's built-in multipart handling? That is enabled by
default, and will interfere with your use of Commons FileUpload. In fact, if
you're using Resin, why are you also using Commons FileUpload?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 39257] - [fileupload] FileUploadException on processing multipart/form-data

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39257>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39257


ebourg@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|org.apache.commons.fileuploa|[fileupload]
                   |d.FileUploadException:      |FileUploadException on
                   |Processing of               |processing multipart/form-
                   |multipart/form-data         |data




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org