Re: Tomcat 7 + exception while adding cookies

2011-12-02 Thread Martin Kuen
Hi, On Thu, Dec 1, 2011 at 5:10 PM, Mark Thomas ma...@apache.org wrote: On 01/12/2011 15:49, Martin Kuen wrote: I first blamed eclipse wtp doing sth. wrong when applying the configuration. Therefore, I checked the connector's jmx properties and to my surprise I could no longer find a

Re: Tomcat 7 + exception while adding cookies

2011-12-01 Thread Pid
On 01/12/2011 04:38, Debraj Mallick wrote: hi Christopher, my tomcat version is : 7.0.14 working on Window7 with JDK 1.6 Can you try again with at least 7.0.21? p On Thu, Dec 1, 2011 at 4:45 AM, Christopher Schultz ch...@christopherschultz.net wrote: Debraj, On 11/30/11 1:16 PM,

Re: Tomcat 7 + exception while adding cookies

2011-12-01 Thread Martin Kuen
Hi Mallick, hi all, To me it appears this setting is ignored by tc 7.0.x. I created a servlet: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { request.getSession().invalidate(); final int NUM_COOKIES = 500; for (int i = 0;

Re: Tomcat 7 + exception while adding cookies

2011-12-01 Thread Mark Thomas
On 01/12/2011 15:49, Martin Kuen wrote: I first blamed eclipse wtp doing sth. wrong when applying the configuration. Therefore, I checked the connector's jmx properties and to my surprise I could no longer find a property called maxHttpHeaderSize for the connector (comparing tc 6 to 7). The

Re: Tomcat 7 + exception while adding cookies

2011-12-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/1/11 4:29 AM, Pid wrote: On 01/12/2011 04:38, Debraj Mallick wrote: hi Christopher, my tomcat version is : 7.0.14 working on Window7 with JDK 1.6 Can you try again with at least 7.0.21? +1 There are 9 releases between your

Tomcat 7 + exception while adding cookies

2011-11-30 Thread Debraj Mallick
hi all, i am getting exception while adding cookies in response *Stack trace*: org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing java.lang.ArrayIndexOutOfBoundsException: 8192 at

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Daniel Mikusa
On Wed, 2011-11-30 at 08:31 -0800, Debraj Mallick wrote: hi all, i am getting exception while adding cookies in response *Stack trace*: org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Debraj Mallick
Thankyou Dan for your quick response my *server.xml*: ?xml version='1.0' encoding='utf-8'? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Martin Kuen
Hi Mallick, Try settingmaxHttpHeaderSize for the Connector/ in your server.xml. Its default value is 8192 bytes. I guess you're exceeding this limit. i.e. Connector executor=tomcatThreadPool port=8080 protocol=HTTP/1.1 connectionTimeout=2

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 11/30/11 12:11 PM, Martin Kuen wrote: Try settingmaxHttpHeaderSize for the Connector/ in your server.xml. Its default value is 8192 bytes. I guess you're exceeding this limit. +1 If you have a lot of cookies or if you are sending

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Debraj Mallick
Hi Martin, i have set maxHttpHeaderSize=81920 but still i am getting exception *Stack trace:* 30 Nov, 2011 11:38:48 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Debraj, On 11/30/11 1:16 PM, Debraj Mallick wrote: i have set maxHttpHeaderSize=81920 but still i am getting exception *Stack trace:* 30 Nov, 2011 11:38:48 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error

Re: Tomcat 7 + exception while adding cookies

2011-11-30 Thread Debraj Mallick
hi Christopher, my tomcat version is : 7.0.14 working on Window7 with JDK 1.6 On Thu, Dec 1, 2011 at 4:45 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Debraj, On 11/30/11 1:16 PM, Debraj Mallick wrote: i have set