Specifying Location of log4j.properties independent of App?

2007-03-15 Thread Kurt Overberg
Gang, I have a webapp that is deployed to directory X (which is not under tomcat/webapps). My log4j.properties is located in webapp/WEB-INF/ classes/log4j.properties. My log4j contains a few hardcoded paths to the log files. Due to traffic size, I would really like to simply point

Re: Response time banding

2006-07-31 Thread Kurt Overberg
Do your 2 second requests happen at a particular time of day? In the early morning, when my database vacuum is running, my response times shoot way up (to around 5 seconds). Check to see what else is going on with your system during the times the page response times increase. /kurt On

Re: Help with filter affecting Chinese words in request parameters

2006-04-10 Thread Kurt Overberg
I'm running using Unicode for international characters, and I have -Dfile.encoding=UTF-8 set on my VMs. Also, at the top of all my JSP pages, I have: %@ page language=java pageEncoding=UTF-8% ...we may also have a Filter set up to something in the chain, but I can't check that right now.

Re: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Kurt Overberg
I think the most common form of load balancing (apache/tomcat) includes sticky sessions which means that once a user is assigned to a tomcat, all subsequent requests will go to that tomcat until the user logs out. When they log in again, they will again be assigned to a server (perhaps a

Please help me check my mod_jk setup?

2006-04-09 Thread Kurt Overberg
I'm hoping that someone here can tell me if this configuration looks sane, or at least in line with what others are using. I am running Apache 1.3.33, mod_jk 1.2.15 and tomcat 5.0.28. The apache and each tomcat are running on separate RedHat ES release 4 machines (so 3 boxes total). I'm

Re: Apache/1.3.33 - mod_jk/1.2.15 - tomcat 5.0.28 loses connection?

2006-04-05 Thread Kurt Overberg
-doc/config/ajp.html ...that parameter doesn't exist (it does exist, though, in the 5.5 docs). Am I just SOL on that parameter because I'm using 5.0.28? Many thanks again... /kurt Mladen Turk wrote: Kurt Overberg wrote: It seems that the number of connections between the apache

Apache/1.3.33 - mod_jk/1.2.15 - tomcat 5.0.28 loses connection?

2006-04-04 Thread Kurt Overberg
Gang, I have a somewhat heavily loaded tomcat application that uses a fairly standard Apache 1.3.33 / mod_jk 1.2.15 / tomcat 5.0.28 set up. I am doing load balancing in the mod_jk, going to 2 RedHat 2.6.9 boxes that run the tomcats. The load is split evenly across the two tomcat boxes.

Re: multihoming examplified

2006-01-23 Thread Kurt Overberg
I've generally found that I only need one Host element in the server.xml file. The Magic is in the Catalina/hostname/ROOT.xml file. Here's whats in my tomcat/conf/Catalina/localhost/ directory: ?xml version='1.0' encoding='utf-8'? Context docBase=/Users/kurt/sandboxes/myapp/webapp path=

How to deploy when JSPs need to change regularly?

2005-11-03 Thread Kurt Overberg
Hello All, I'm currently running mid-sized website (load balanced across five servers). Its a fairly large web application with a front and a back-end. In production, the application is sitting exploded in a directory which tomcats point at. It looks rather like a development sandbox. I do

Re: How to deploy when JSPs need to change regularly?

2005-11-03 Thread Kurt Overberg
of CVS to replicate the updates. Hope this helps - Richard -Original Message- From: Kurt Overberg [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 7:20 AM To: tomcat-user@jakarta.apache.org Subject: How to deploy when JSPs need to change regularly? Hello All, I'm currently