RE: Log rotation HOWTO

2004-07-01 Thread Kwan, Kenneth Y
You may use cronolog from http://cronolog.org/. And, modify the catalina.sh as following in the start part. elif [ $1 = start ] ; then shift if [ $1 = -security ] ; then echo Using Security Manager shift $_RUNJAVA $JAVA_OPTS $CATALINA_OPTS \

RE: Apache http / mod_rewrite / mod_jk

2004-04-07 Thread Kwan, Kenneth Y
Instead of directly redirect to mod_jk, can you just use mod_write to insert a directory prefix which can trigger mod_jk? Kenneth -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 3:28 AM To: Tomcat Users List Subject: Apache http /

[tomcat 4.1.2x] Bug in Response Header Encoding ???

2003-10-09 Thread Kwan, Kenneth Y
Title: [tomcat 4.1.2x] Bug in Response Header Encoding ??? Hi all Has anyone found after upgrading to 4.1.24 / 4.1.27, you cannot download file with filename contains non-iso characters, e.g. big5, etc. The problem seems in header encoding where the servlet engine always encode the

Apache2/Tomcat 4.1.24 hang with ..%5c.. pattern !!!

2003-07-29 Thread Kwan, Kenneth Y
Title: Apache2/Tomcat 4.1.24 hang with ..%5c.. pattern !!! Just found if ..%5c.. is contained in request url, apache2/tomcat will hang for processing and never return. Also found Error flushing... in mod_jk.log, e.g. http://yourserver/examples/..%5c../any.jsp However, the problem does not

RE: Can anyone give me an idea of the maximum hit rate for Tomcat on a PC

2002-05-21 Thread Kwan, Kenneth Y
With simple JSP, a few hundreds per second on RH7.0, single PII400, tomcat 3.x, Apache 1.3.9, 128M RAM. Please test and advise your finding on 1GHz CPU -Original Message- From: Simon Crase [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 1:50 PM To: 'Tomcat Users List' Subject: Can

RE: Log4j initialization problem

2002-03-20 Thread Kwan, Kenneth Y
Title: RE: Log4j initialization problem I found the same problem as well. It seems that for the same JVM (even with different webapps) all use the same(i.e. the last initialized) config file. Kenneth -Original Message- From: James Adams [mailto:[EMAIL PROTECTED]] Sent: Thursday,

How to obtain original request url?

2002-03-20 Thread Kwan, Kenneth Y
Title: How to obtain original request url? I have configured my webapp with customized error page for 404 error. Does anyone know how can I obtain the original requested URL? Thanks Kenneth Kwan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

RE: jkconf? Does it work in 4.0.1? Where's workers.properties?

2001-12-18 Thread Kwan, Kenneth Y
Just copy the workers.properties from 3.x Kenneth -Original Message- From: Scott Merritt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 8:30 AM To: 'Tomcat Users List' Subject: RE: jkconf? Does it work in 4.0.1? Where's workers.properties? Is it possible to manually

RE: [ajp13]bad read -103

2001-12-12 Thread Kwan, Kenneth Y
Title: RE: [ajp13]bad read -103 It also exists in my Linux box RH 7.1 with Apache 1.3.2x and mod_jk Rgds -Original Message- From: Reto Badertscher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 6:23 PM To: Tomcat Users List Subject: AW: [ajp13]bad read -103 Hi,

RE: Tomcat 4.0 and Poolman

2001-11-22 Thread Kwan, Kenneth Y
Title: RE: Tomcat 4.0 and Poolman This also works on my TC4.0.1 Poolman 2.0.4 -Original Message- From: KL OOI [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 22, 2001 4:12 PM To: Tomcat Users List Subject: Re: Tomcat 4.0 and Poolman put all the Poolman related JAR files into

RE: Tomcat 3.2.3 and Linux JDK 1.3.1

2001-11-19 Thread Kwan, Kenneth Y
Title: RE: Tomcat 3.2.3 and Linux JDK 1.3.1 try ulimit -s 2048 -Original Message- From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 2:00 PM To: '[EMAIL PROTECTED]' Subject: RE: Tomcat 3.2.3 and Linux JDK 1.3.1 i've stopped using the sun jdk

Ho to change default ContentType ?

2001-08-27 Thread Kwan, Kenneth Y
By default, JSP compiler generates ¡§response.setContentType(¡§text/html; charset=ISO-8859-1¡¨) in every JSP page. I can change the type by manually inserting ¡§response.setContentType(¡§text/html; charset=xxx¡¨) in every JSP page. Is there any way to change the ¡§default¡¨ charset in

RE: ===Session Question===

2001-05-22 Thread Kwan, Kenneth Y
Anil Just on top of normal session validation, add 1 session attribute in servlet1 to indicate that this session is valid+ and remove this attribute in servlet2. So, after leaving serlvet2, the session is valid everywhere except servlet2. Kenneth Kwan -Original Message-

RE: setContentType / File download

2001-03-14 Thread Kwan, Kenneth Y
Please help, we encounter similar problem but with IE5.5 only (no problem with all Netscapes, and IE5.01 and below versions). Seems MS has changed something in IE5.5 Kenneth -Original Message- From: Gerd Trautner [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

Servlet preLoad difference between IBM JDK Sun JDK

2001-02-07 Thread Kwan, Kenneth Y
Recently I have tried IBM JDK1.3 to run my tomcat and everything seems ok. However, when I wanted to pre-load a servlet from a package, I found that the behavior of IBM¡¦s JDK Sun¡¦s JDK are different where IBM¡¦s only works with package.class while Sun¡¦s is package/class. Can anyone advise

Servlet preLoad difference between IBM JDK Sun JDK

2001-02-07 Thread Kwan, Kenneth Y
Recently I have tried IBM JDK1.3 to run my tomcat and everything seems ok. However, when I wanted to pre-load a servlet from a package, I found that the behavior of IBM¡¦s JDK Sun¡¦s JDK are different where IBM¡¦s only works with package.class while Sun¡¦s is package/class. Can anyone advise

RE: performance

2001-02-05 Thread Kwan, Kenneth Y
I have also tested IBM¡¦s JDK 1.3 and my test case had many CPU intense jobs (processor loading was 90%). I found that IBM¡¦s JDK only took 13sec to complete all the jobs while SUN¡¦s required 20 sec to complete. FYI Kenneth -Original Message- From: Todd Carmichael

RE: Multipart and mod_jk

2000-12-12 Thread Kwan, Kenneth Y
Seems ajp13¡¦s problem as I can use the O¡¦Reilly package in JRun and mod_jserv w/o any prob Kenneth Kwan -Original Message- From: AC [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 3:53 PM To: [EMAIL PROTECTED] Subject:

RE: Multipart and mod_jk

2000-12-11 Thread Kwan, Kenneth Y
Use mod_jk with AJP12 (not AJP13) will work Kenneth Kwan -Original Message- From: AC [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 12:49 AM To: [EMAIL PROTECTED] Subject:Multipart and mod_jk I've got a

RE: APXS mod_jk.so

2000-12-04 Thread Kwan, Kenneth Y
Check for Perl installed or not, apxs requires Perl to run Kenneth Kwan -Original Message- From: bdh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 05, 2000 9:00 AM To: [EMAIL PROTECTED] Subject:APXS mod_jk.so To Whom

RE: don't know how to compile the servlet program

2000-11-08 Thread Kwan, Kenneth Y
Seems you have missed the servlet.jar Kenneth Kwan -Original Message- From: simon [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 09, 2000 10:50 AM To: [EMAIL PROTECTED] Subject: don't know how to compile the servlet program Hi I can run jsp file in Tomcat server 3.1 but not