Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13794

FileUpload serverError on upload on Wildfly

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 4.5.0.Alpha3, 4.5.0.Beta1
    • Fix Version/s: 4.5.0.Beta2
    • Component/s: component-input
    • Labels:
      None
    • Environment:

      WildFly 8.1.0. Final

    • Steps to Reproduce:
      Hide

      1. In standalone.xml remove from subsystem xmlns="urn:jboss:domain:undertow:1.1" in tag http-listener attribute max-post-size.
      2. Deploy metamer application and open http://localhost:8080/metamer/faces/components/richFileUpload/progressFacet.xhtml
      3. Click Add button, choose file with size more than 20MB. Upload button is showed up. Click on it.
      4. Message: server error is showed up - instead of file size limit exceed.
      5. Click add button and choose random file.
      6. Upload button is not showed up.

      Show
      1. In standalone.xml remove from subsystem xmlns="urn:jboss:domain:undertow:1.1" in tag http-listener attribute max-post-size. 2. Deploy metamer application and open http://localhost:8080/metamer/faces/components/richFileUpload/progressFacet.xhtml 3. Click Add button, choose file with size more than 20MB. Upload button is showed up. Click on it. 4. Message: server error is showed up - instead of file size limit exceed. 5. Click add button and choose random file. 6. Upload button is not showed up.

      Description

      The message "server error" instead of "file size is exceed" is showed up when file to upload has size more than 20MB. Moreover component is after this action unusable, because upload icon doesn't show up if you add next file.

      JavaScript console:

      POST http://localhost:8080/metamer/faces/components/richFileUpload/progressFacet ... 500 (Internal Server Error) fileupload.js:425

      Server: WildFly 8.1.0. Final

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                mtomasek Martin Tomasek
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: