You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Daniel Haensse <ha...@swissembedded.com> on 2006/11/27 08:32:33 UTC

Realm timeout on file upload (Tomcat)

Dear list,

max file upload size is set to 100MB, session timeout is set to 15
minutes. After 15 minutes of upload, the session timeouts. I this
behaviour wanted? I would expect that there is no timeout as long as the
file upload is in progess. Any hints how to modify this behaviour?

regards

Dani

     <filter>
                <filter-name>extensionsFilter</filter-name>
               
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
                <init-param>
                        <param-name>uploadMaxFileSize</param-name>
                        <param-value>100m</param-value>
                        <description>Set the size limit for uploaded
files. Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB</description>
                </init-param>
                <init-param>
                        <param-name>uploadThresholdSize</param-name>
                        <param-value>100k</param-value>
                        <description>
                                Set the threshold size - files below
this limit are stored in memory, files above this limit are stored on disk.

                                Format: 10 - 10 bytes 10k - 10 KB 10m -
10 MB 1g - 1 GB
                        </description>
                </init-param>
                <!--        <init-param>
                        <param-name>uploadRepositoryPath</param-name>
                        <param-value>/temp</param-value>
                        <description>Set the path where the intermediary
files will be stored.
                        </description>
                        </init-param>-->
        </filter>

       <session-config>
                <session-timeout>15</session-timeout>
        </session-config>