Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

File upload limitation with ORDS 18.4 on Tomcat 9.0.2

JTs_prodOct 8 2019 — edited Oct 9 2019

Hello,

I have created an APEX application that allows folks to upload documents which are then stored as a clob in a custom table.  Everything works just fine until a file larger than 2mb is uploaded.  When someone tries to do that, nothing happens, there is no error message, and there is nothing in the log files anywhere.

I checked the web.xml file under $TOMCAT_HOME/webapps/manager/WEB-INF and found the limit to be set to 50mb there:

    <multipart-config>

      <!-- 50MB max -->

      <max-file-size>52428800</max-file-size>

      <max-request-size>52428800</max-request-size>

      <file-size-threshold>0</file-size-threshold>

    </multipart-config>

I tried to up the maxPostSize on my 'connector' and even set it to unlimited with the following:

    <Connector port="8080" protocol="HTTP/1.1"

               connectionTimeout="20000"

               redirectPort="8443"

               maxPostSize="-1"

But alas, I'm still limited to 2mb file sizes for the max.  Is there another configuration somewhere else I'm missing?

Thanks in Advance for any replies!

Comments

Post Details

Added on Oct 8 2019
1 comment
2,155 views