we are using commons-fileupload, perhaps they know more on this?

-M

On 11/28/06, Daniel Haensse <[EMAIL PROTECTED]> wrote:




---------- Forwarded message ----------
From: Daniel Haensse <[EMAIL PROTECTED]>
To: [email protected]
Date: Mon, 27 Nov 2006 08:32:33 +0100
Subject: 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>







--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to