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 anoth

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 Ju

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 dif

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 no

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
.org/tomcat-5.0-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 b

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

2006-04-05 Thread Kurt Overberg
30 140 04/05/2006 10:58:32 AM 11 136 04/05/2006 10:58:43 AM 10 30 Mladen Turk wrote: Kurt Overberg wrote: [Tue Apr 04 18:23:35 2006] [info] ajp_process_callback::jk_ajp_common.c (1384): Connection aborted or network problems [Tue Apr 04 18:23:35 2006] [info] ajp_service::jk_ajp_common.c

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//ROOT.xml file. Here's whats in my tomcat/conf/Catalina/localhost/ directory: reloadable="true"> (you don't need that line- thats a custom parameter for my application)

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

2005-11-03 Thread Kurt Overberg
".war" file. It might be a good idea to use an rsync (on Linux/Unix ?) script or something similar instead 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

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