11.1 Increasing the File Upload Size Limit

The default size limit for uploading files into your Teaming 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-version/
                               webapps/ssf/WEB-INF/context
    

    Windows:

    c:\Program Files\Novell\Teaming\apache-tomcat-version\
                               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 Java bean 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. Paste the block of lines you copied at the end of the applicationContext-ext.xml file.

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

    You must specified 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 Teaming to put the new upload size limit into effect for your Teaming site.