hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Risenhoover <prisenhoo...@daxsolutions.com>
Subject HttpClient and Large File (>2GB) Support
Date Mon, 07 Aug 2006 15:53:18 GMT

Greetings all,

I have searched the web and browsed the mailing list archives for a 
solution to my problem but have been unable to find anything 
substantial.  I'm hoping somebody here might point me in the right 
direction.

The problem I'm having is with large files (>2Gb).  The HttpClient 
package simply doesn't seem to want to accept them.  I've got a 
servlet/applet comination in which the applet sends file to the servlet, 
and when I try to send a file over 2GB, I get the exception trace that 
you can see at the bottom of this page.  It works perfectly for files 
under 2GB.

Has anybody else seen this problem?  Any thoughts on how to resolve it?

Thanks,
Paul


2006-08-07 08:50:38,380 DEBUG  (MediaBatchUploadControl.java:670) 
ioexception - user may have lost connectivity.
java.io.IOException: Corrupt form data: premature ending
        at 
com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:205)
        at 
com.oreilly.servlet.multipart.MultipartParser.<init>(MultipartParser.java:119)
... <snip>
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
        at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
        at 
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:81)
        at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:138)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
        at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
        at 
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run()V(Unknown Source)


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


Mime
View raw message