Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » How to change the value of LimitRequestFieldSize in virgo tomcat server
How to change the value of LimitRequestFieldSize in virgo tomcat server [message #870420] Tue, 08 May 2012 06:33 Go to next message
karthik elavan is currently offline karthik elavanFriend
Messages: 70
Registered: August 2011
Location: Chennai
Member
Hi,

How and where to change the value of LimitRequestFieldSize in virgo tomcat server.


Thanks
karthik
Re: How to change the value of LimitRequestFieldSize in virgo tomcat server [message #870438 is a reply to message #870420] Tue, 08 May 2012 08:38 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 278
Registered: October 2010
Senior Member
Hi,

I think that this property is for Apache HTTP Server - http://httpd.apache.org/docs/2.0/mod/core.html
This directive specifies the number of bytes that will be allowed in an HTTP request header.


Closer to this directive, you can try specify maxHttpHeaderSize in the Connector element - http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
The maximum size of the request and response HTTP header, specified in bytes.


Regards
Violeta

[Updated on: Tue, 08 May 2012 08:54]

Report message to a moderator

Re: How to change the value of LimitRequestFieldSize in virgo tomcat server [message #870729 is a reply to message #870438] Wed, 09 May 2012 13:26 Go to previous messageGo to next message
karthik elavan is currently offline karthik elavanFriend
Messages: 70
Registered: August 2011
Location: Chennai
Member
Thank you for your reply.

I have opened the tomcat-server.xml file which is located in VIRGO-SERVER-HOME/config folder

and added the attribute maxHttpHeaderSize like below in all connector ports:

<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8" maxHttpHeaderSize="16930" />

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="config/keystore"
keystorePass="changeit" URIEncoding="UTF-8" maxHttpHeaderSize="16930" />

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" maxHttpHeaderSize="16930" />

Is this correct?
Re: How to change the value of LimitRequestFieldSize in virgo tomcat server [message #870739 is a reply to message #870729] Wed, 09 May 2012 13:49 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 278
Registered: October 2010
Senior Member
yes that's correct
Re: How to change the value of LimitRequestFieldSize in virgo tomcat server [message #870923 is a reply to message #870739] Thu, 10 May 2012 09:22 Go to previous message
karthik elavan is currently offline karthik elavanFriend
Messages: 70
Registered: August 2011
Location: Chennai
Member
Thanks for your reply.
Previous Topic:Problems loading ApplicatioContext file in a WAB
Next Topic:Want Virgo on CloudFoundry?
Goto Forum:
  


Current Time: Tue Apr 16 23:07:56 GMT 2024

Powered by FUDForum. Page generated in 0.78930 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top