2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

While uploading large files getting error in wildfly server

By upload large files(500mb+) to wildfly server and i get an IOException

userimage

Try to configure below change in standalone.conf file of wildfly server.

<subsystem xmlns="urn:jboss:domain:undertow:1.1">
   <buffer-cache name="default"/>
   <server name="default-server">
      <http-listener name="default" socket-binding="http" max-header-size="974247881"/>
      <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>
</subsystem>
Answer is