E.21 Import and File Upload Limits

The UPLOAD_MAX_MEMORY and UPLOAD_MAX_DISK_SPACE is set to "50mb". To upload more than 50mb, manually change these settings in web.xml.

To reset the memory and disk space parameters

  1. Locate web.xml in WEB-INF/lib/ngam-ui.war.

  2. Edit the file to change UPLOAD_MAX_MEMORY. For example:

    <context-param>
       <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY</param-name> 
       <param-value>104857600</param-value>
    <context-param> 
    
  3. Edit the file to change UPLOAD_MAX_DISK_SPACE. For example:

    <context-param>
       <param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE</param-name> 
       <param-value>104857600</param-value>
    <context-param> 
    
  4. Save the file.

  5. Restart the OAM Server.

See Also:

"Providing File Upload Capability" in the Oracle Application Development Framework Developer's Guide.