20.6 Increasing the File Upload Size Limit

The default size limit for uploading files into your Novell Vibe site is 2 GB. You can change this limit by editing the applicationContext.xml file.

  1. Change to the following directory:

    Linux:

    /opt/novell/teaming/apache-tomcat/
                               webapps/ssf/WEB-INF/context
    

    Windows:

    c:\Program Files\Novell\Teaming\apache-tomcat\
                               webapps\ssf\WEB-INF\context
    
  2. Open the applicationContext.xml file in a text editor.

  3. Search for FileUpload.

    This brings you to a comment line followed by a JavaBean definition.

  4. Copy the comment line and the complete JavaBean definition to the clipboard of your text editor.

  5. Open the applicationContext-ext.properties file, which is located in the same directory as the applicationContext.xml file.

  6. Scroll to the end of the applicationContext-ext.xml file, then paste the block of lines you copied.

  7. Edit the maxUploadSize value as needed for your Vibe site.

    You must specify the size in bytes.

  8. Save and close the applicationContext-ext.xml file.

  9. Close the applicationContext.xml file without saving it.

  10. Stop and restart Vibe to put the new upload size limit into effect for your Vibe site.