Hi,
I recently upgraded an application from ADF 12.1.3.0 to ADF 12.2.1.3.0. Before the upgrade, users could upload files of up to about 100 MB in size to a database using the application. After the upgrade, the application fails if uploaded files are larger than about 2 MB. The server log does not specify that the file size is the problem, but rather gives error messages like this:
JBO-26041: Failed to post data to database during "Rollback to Savepoint". On my local dev environment (using the integrated WLS) I additionally get various errors related to the database connection, and problems preparing statements. All these errors only occur if the uploaded file is larger than about 2 MB.
As far as I know, 2 MB is the default file size limit. To get around that, I originally added these lines to web.xml in the application:
<context-param>
<param-name>oracle.adf.view.faces.UPLOAD_MAX_MEMORY</param-name>
<param-value>104857600</param-value>
</context-param>
<context-param>
<param-name>oracle.adf.view.faces.UPLOAD_MAX_DISK_SPACE</param-name>
<param-value>104857600</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_MEMORY</param-name>
<param-value>104857600</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE</param-name>
<param-value>104857600</param-value>
</context-param>
And that did the trick in earlier ADF versions. But not in 12.2.1.3.0.
Does anyone have an idea how to solve the problem? Do I need to add some new parameters or something?
Best regards,
Andreas