1 Reply Latest reply on Oct 9, 2019 4:55 PM by Pierre Yotti

    File upload limitation with ORDS 18.4 on Tomcat 9.0.2

    JTs_prod

      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!