Request header is too large

后端 未结 2 1557
迷失自我
迷失自我 2021-01-18 15:03

I found several IllegalStateException exceptions in the logs:

[#|2009-01-28T14:10:16.050+0100|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_         


        
相关标签:
2条回答
  • 2021-01-18 15:39

    the proper solution is to add the following property under http-listener:

    <property name="maxPostSize" value="" />
    
    0 讨论(0)
  • 2021-01-18 15:48

    add/update at the tomcat server xml

    <Connector port="8080" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443" maxHttpHeaderSize="65536" maxPostSize="4194304"  
                   URIEncoding="UTF-8"/>
    
    0 讨论(0)
提交回复
热议问题