Tomcat Error:
[2015-08-24 14:56:41] 3084386 error-com.tools.common.util.close.closeutil-unable to close [email protected]
Org.apache.coyote.http11.HeadersTooLargeException:An attempt was made to write more data to the response headers than the Re is the available in the buffer. Increase maxhttpheadersize on the connector or write less data into the response headers.
At Org.apache.coyote.http11.AbstractOutputBuffer.checkLengthBeforeWrite (abstractoutputbuffer.java:547)
At Org.apache.coyote.http11.AbstractOutputBuffer.write (abstractoutputbuffer.java:511)
At Org.apache.coyote.http11.AbstractOutputBuffer.write (abstractoutputbuffer.java:428)
At Org.apache.coyote.http11.AbstractOutputBuffer.sendHeader (abstractoutputbuffer.java:394)
At Org.apache.coyote.http11.AbstractHttp11Processor.prepareResponse (abstracthttp11processor.java:1540)
At Org.apache.coyote.http11.AbstractHttp11Processor.action (abstracthttp11processor.java:773)
At Org.apache.coyote.Response.action (response.java:174)
At Org.apache.coyote.Response.sendHeaders (response.java:365)
At Org.apache.catalina.connector.OutputBuffer.doFlush (outputbuffer.java:352)
At Org.apache.catalina.connector.OutputBuffer.close (outputbuffer.java:309)
At Org.apache.catalina.connector.CoyoteWriter.close (coyotewriter.java:112)
At Com.tools.common.util.close.CloseUtil.close (closeutil.java:20)
At Com.tools.common.struts.base.BaseAction.print (baseaction.java:63)
At Com.tools.common.struts.base.BaseAction.print (baseaction.java:43)
At Com.jlj.sso.web.login.LoginAction.login (loginaction.java:47)
At Sun.reflect.GeneratedMethodAccessor49.invoke (Unknown Source)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:601)
At Com.opensymphony.xwork2.DefaultActionInvocation.invokeAction (defaultactioninvocation.java:450)
Through the network query, found that the head of Tomcat is too large, the solution is as follows:
Maxhttpheadersize= "102400" secondary parameters do not set too large, it is easy to cause memory overflow.
Set Location to access port
This article is from the "Loyalty" blog, make sure to keep this source http://xinsir.blog.51cto.com/5038915/1687676
At Org.apache.coyote.http11.AbstractOutputBuffer.checkLengthBeforeWrite