0 Replies Latest reply on Nov 17, 2008 3:33 AM by hebe

    stopping a file upload takes a lot of time

      Hi everybody,

      I have some trouble with the rich:fileupload component rather with stopping the current file upload.

      First of all almost everything works perfect with this component for me and it is absolutely great.

      Unfortunately I noticed some problems with stopping a running upload. It takes very long to stop the upload according to the size of the file. For very small files (a few KB) everything is ok but when the filesize is very large (round about 50 MB) it takes a few minutes (!!!) to stop the current upload.

      Has anybody a solution or an explanation for this problem?
      Or as a quick workaround: Is there any possibilty to disable the stop button?

      (I'm using RF 3.2.2 and Seam)

      My web.xml:


      <filter>
      <filter-name>Seam Filter</filter-name>
      <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>

      <init-param>
      <param-name>createTempFiles</param-name>
      <param-value>true</param-value>
      </init-param>

      <init-param>
      <param-name>maxRequestSize</param-name>
      <param-value>100000000</param-value>
      </init-param>

      </filter>


      My component (it is nested inside a modal panel):

      <rich:fileUpload id="uploadFileComponent"
      maxFilesQuantity="10"
      immediateUpload="false"
      fileUploadListener="#{uploadBean.uploadListener}"
      listHeight="350"
      listWidth="470"
      autoclear="false"
      >


      If you need any further information don't hesitate to ask me.
      Thanks in advance