Skip to main content
Inspiring
August 1, 2019
Question

Application Error

  • August 1, 2019
  • 1 reply
  • 1161 views

Hello,

  We are using ColdFusion 2018 on a Windows server 2016 platform. One of our data entry screen crashes when the data is submitted. I see an error message which states something as shown below.

I tried changing the setting for 'postSizeLimit' in the file neo-runtime.xml as it was mentioned in one of the previous posts, this also did not help, we continue to get the same error.

How to resolve this issue ?

HTTP Status 400 – Bad Request


Type Status Report

Message POST parameters exceeds the maximum limit.

Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).


Apache Tomcat/9.0.5

    This topic has been closed for replies.

    1 reply

    WolfShade
    Legend
    August 1, 2019

    Hello, IQ1.

    Did you restart the CF service after changing the post limit?  Did you use the CFAdmin interface, as well, to make sure that the value was changed?

    We have to follow STIG requirements, and the STIG states that the default value of 100 should be maintained.  One thing I did to get around this was to use jQuery to .serializeArray() the form, turn it into a JSON string, and place it all in one hidden field, then use .post() to submit the form in the background to a .cfc function to process.  Could that help?

    V/r,

    ^ _ ^

    IQ1Author
    Inspiring
    August 1, 2019

    I changed the setting to 500 and it worked for me.

    WolfShade
    Legend
    August 1, 2019

    Glad to hear you got it working. 

    V/r,

    ^ _ ^