3 Replies Latest reply on Jun 2, 2011 5:49 AM by kiler

    File upload issue in 4.0.0 CR1

    lukes1979

      Hi,

       

      My setup is tomcat 6 (but also same in 7), Richfaces 4.0.0 CR1, webflow 2.3.0, mojarra 2.0.4, spring security 3.0.5.

       

      I'm having a few issues with the file upload, the component renders correctly, I can browse to the file I wish to upload but on clicking upload I get text displayed saying 'server error'.

      I have traced the problem in the code to the following exception:

      org.richfaces.exception.FileUploadException: The request was rejected because no multipart boundary was found

       

      My listener is never called.  Do I need any special context parameters/filters/servlets defined in the web.xml?

       

      Any help would be greatly appreciated.  If anymore details are required please let me know.

        • 1. File upload issue in 4.0.0 CR1
          nbelaevski

          Hi Luke,

           

          No, nothing special. Can you please post more information about your configuration? Small test poject would be ideal.

          • 2. File upload issue in 4.0.0 CR1
            lukes1979

            Hi Nick,

             

            many thanks for the prompt response.

             

            whilst creating a simple project the fileupload started working after removing Webflow.  I believe Webflow is removing / altering the file upload request before it gets to the Richfaces code.  This is strange as I have had file upload working on previous version of Webflow (2.0.x) and Richfaces (3.3.x).

             

            I will debug somemore and raise the issue on the Webflow forums.

             

            Thanks

            • 3. Re: File upload issue in 4.0.0 CR1
              kiler

              Hi,

               

              I have the same problem, but I dont know why - there is no log.

              Any one can help ?