3 Replies Latest reply on Feb 6, 2017 5:01 AM by Ashish Nayal

    Issue in uploading file greater than 10 MB in Wildfly 9

    Ashish Nayal Newbie

      I am trying to upload a file>10MB in a web project in Struts1 deployed in Wildfly 9,after configuring max-post-size to 1048576000 in standalone.xml,it is giving me error:

       

      Request[/addcommittee] does not contain handler parameter named method

       

      Standalone.xml

       

        <subsystem xmlns="urn:jboss:domain:undertow:2.0">

                  <buffer-cache name="default"/>

                  <server name="default-server">

                      <http-listener name="default" max-post-size="1048576000" socket-binding="http" redirect-socket="https"/>

                      <host name="default-host" alias="localhost">

                          <location name="/" handler="welcome-content"/>

                          <filter-ref name="server-header"/>

                          <filter-ref name="x-powered-by-header"/>

                      </host>

                  </server>

                  <servlet-container name="default">

                      <jsp-config/>

                      <session-cookie http-only="true" secure="true"/>

                      <websockets/>

                  </servlet-container>

                  <handlers>

                      <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>

                  </handlers>

                  <filters>

                      <response-header name="server-header" header-name="Server" header-value="WildFly/9"/>

                      <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>

                  </filters>

              </subsystem>