Increasing maximum package size in Apache Tomcat

Solution Unverified - Updated -


  • How to increase the maxPostSize value from default 2MB to 10MB to upload larger files?


  • Red Hat Enterprise Linux (RHEL)
    • 6.x
    • 7.x
  • Red Hat JBoss Web Server (JWS)
  • Apache Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In