Re: Unrecognized VM option '+HeapDumpOnCtrlBreak'

2010-06-03 Thread Bill Au
That option is not available in Java 6. With Java 6, you can use jmap to take a heap dump. Bill On Thu, Jun 3, 2010 at 9:12 AM, Kaushal Shriyan kaushalshri...@gmail.comwrote: Hi, I am running tomcat 5.5.27 on ubuntu 8.04, java version is java -version java version 1.6.0_06 Java(TM) SE

Re: Prevent JSP Session

2010-05-19 Thread Bill Au
I an actually facing the same situation. Is it possible to disable JSP sessions once and for all with a configuration setting? Adding the page directive to disable session to each JSP should work but I am afraid that our developers will not always remember to do so. Bill On Wed, May 19, 2010

Re: question about APR based native library

2010-04-16 Thread Bill Au
AM, Pid * p...@pidster.com wrote: On 15 Apr 2010, at 19:15, Bill Au bill.w...@gmail.com wrote: I am using 6.0.26. The native library is loaded. I am not as concern about SSL since most of our application don't use SSL. I am guessing that most people don't use the native library

question about APR based native library

2010-04-15 Thread Bill Au
Are there any reasons I shouldn't use the APR based native libaray? Or at least things that I should be aware of if I do use it? According to the documentation using the native library will give better scalability and performance. I want to understand if there are any downside since with most

Re: question about APR based native library

2010-04-15 Thread Bill Au
release of 6.x) won't properly recognize the library. That is fixed in current releases. -Original Message- From: Bill Au [mailto:bill.w...@gmail.com] Sent: Thursday, April 15, 2010 9:25 AM To: Tomcat Users List Subject: question about APR based native library Are there any

Re: Tomcat - All threads (200) are currently busy

2007-07-12 Thread Bill Au
Take a thread dump of the JVM: http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/ Bill On 7/12/07, André Vila Cova [EMAIL PROTECTED] wrote: Hi! I've this two processes: tomcat6404 0.0 2.6 484396 105456 ? Sl 01:05 0:14 /usr/local/java1.5/bin/java -Xms64m

Re: Can servlets safely spawn threads?

2007-01-29 Thread Bill Au
If you are spawning threads from your servlet, make sure that they are cleaned up when the servlet is destroyed. Otherwise, you will have a thread leak. I have ran into this problem when the webapp is reloaded without restarting the server. Each leaked thread has a reference to its