History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: JSF-26
Type: Bug Bug
Status: Open Open
Priority: Trivial Trivial
Assignee: Chad Brandon
Reporter: Walter Itamar Mourão
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
JSF cartridge

Wrong context-params

Created: 06/Sep/06 09:28 PM   Updated: 06/Sep/06 09:28 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None


 Description   
The following parameters are needed by the upload component:
...
  <context-param>
    <!-- Maximum memory per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_MEMORY</param-name>
    <!-- Use 500K -->
    <param-value>512000</param-value>
  </context-param>
  <context-param>
    <!-- Maximum disk space per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_DISK_SPACE</param-name>
    <!-- Use 5,000K -->
    <param-value>100000000</param-value>
  </context-param>

...
instead of:
...
        <init-param>
            <description>
                Set the size limit for uploaded files.

                Format: 10 - 10 bytes
                        10k - 10 KB
                        10m - 10 MB
                        1g - 1 GB
            </description>
            <param-name>uploadMaxFileSize</param-name>
            <param-value>100m</param-value>
        </init-param>
        <init-param>
            <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>
            <param-name>uploadThresholdSize</param-name>
            <param-value>100k</param-value>
        </init-param>

...

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.