This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleFile upload issue
Date26-Jan-2007 17:18:24 EET
Version2.0.52
Submitter203.99.197.2
Bug criticalityCriticalBug
Browser versionIE
Bug statusNewBug
PageProvider used
Servlet ContainerTomcat 5.5
Operating SystemWindows
URLUploadTemplate.jsp
Java version1.4.2

Hi, I have developed a wiki based web application and hosted in internet. When I try to upload any documents using the upload option, sometimes I am getting a error like, "java.io.IOException: Stream ended prematurely." But upload works fine if I access the application directly in the server without accessing via internet. I have no cule where the problem is. Is it a problem with the internet bandwidth or firewall issue? Please help me resloving the issus. Thanks.

Stack Trace:


2007-01-26 15:42:51,179 TP-Processor7 WARN com.ecyrd.jspwiki.attachment.AttachmentServlet - Upload failure: Stream ended prematurely. (attachment: (unknown)) java.io.IOException: Stream ended prematurely. at http.utils.multipartrequest.MultipartRequest.readParameter(MultipartRequest.java:909) at http.utils.multipartrequest.MultipartRequest.parse(MultipartRequest.java:760) at http.utils.multipartrequest.MultipartRequest.initParser(MultipartRequest.java:506) at http.utils.multipartrequest.MultipartRequest.<init>(MultipartRequest.java:386) at com.ecyrd.jspwiki.attachment.AttachmentServlet.upload(AttachmentServlet.java:288) at com.ecyrd.jspwiki.attachment.AttachmentServlet.doPost(AttachmentServlet.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 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.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 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:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source)

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 26-Jan-2007 17:18 by 203.99.197.2.