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

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-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: specifying the content-type

2011-06-01 Thread Martin Kuen
Hi Bernd, I think your colleagues forgot/didn't want to set the content-type in the servlet(-code)? text/plain is apache default for anything it doesn't know (if I recall correctly) If no content-type is set by the servlet, no content-type is delivered. No content-type set by the servlet causes

Re: Preventing or recovering from SocketException: Interrupted system call

2011-05-06 Thread Martin Kuen
Hi Joel, I have done some ipc programming on linux a while ago . . I hardly ever looked at the jvm's source code and I don't have too much experience when it comes to c/c++ cross platform development. However, as I didn't see any responses so far, here are my two cents: On Thu, May 5, 2011 at

Re: Issue with Apache 2.2.3, Tomcat 6.0.29, and Flex

2011-02-11 Thread Martin Kuen
Hi Michael, did you verify that your flex app is sending something when you hit the login button? (e.g. using wireshark) As you referring to a compiled flex application, I am somewhat tempted to assume that you didn't write it on your own (?) -- Do you have a flash *debug* player installed?

Re: Filter questions

2010-12-01 Thread Martin Kuen
Hi Leo, you can use the terms servletcontext and webapplication interchangeably. http://tomcat.apache.org/tomcat-6.0-doc/introduction.html See Terminology Best Regards, Martin On Wed, Dec 1, 2010 at 3:34 PM, Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov wrote: Servlet Spec 2.5

Re: tomcat 6.0.29 hung

2010-10-21 Thread Martin Kuen
jason, Out of personal interest I have a question about the way you use jstack. I came across this jstack cannot take dump of hung process problem before. I once witnessed the same exceptions when chasing a deadlock. This happened to me on ubuntu 10.4.0 (and 10.4.1) 64-bit using sun's jdk

Re: monitoring tomcat application

2010-09-10 Thread Martin Kuen
Hi TG, assuming you are using a sun 1.6 jdk to run tomcat: http://download.oracle.com/javase/6/docs/technotes/guides/management/jconsole.html http://download.oracle.com/javase/tutorial/jmx/index.html http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html jmx (Java Management Extensions) is