RE: Load balancing questions

2009-12-29 Thread Gerhardus.Geldenhuis
Hi Ghassan, It looks like you might be using a default/old version of modjk. I would recommend as a start to either download the latest binary release or compile a custom version for your distribution. It is really straightforward to do the compile and everything you need to know is in the document

RE: Strange characters seen in RR and Cd columns on jkserver-status page after upgrading modjk to .28

2009-12-14 Thread Gerhardus.Geldenhuis
> -Original Message- > From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Sent: 12 December 2009 15:51 > To: Tomcat Users List > Cc: Gerhardus Geldenhuis (GTA-LON) > Subject: Re: Strange characters seen in RR and Cd columns on jkserver- > status page after upgrading modjk to .28 > > On 1

RE: Strange characters seen in RR and Cd columns on jkserver-status page after upgrading modjk to .28

2009-12-11 Thread Gerhardus.Geldenhuis
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 11 December 2009 17:43 To: Tomcat Users List Subject: Re: Strange characters seen in RR and Cd columns on jkserver-status page after upgrading modjk to .28 gerhardus.geldenh...@gta-travel.com wrote: > Hi > > We have u

Strange characters seen in RR and Cd columns on jkserver-status page after upgrading modjk to .28

2009-12-11 Thread Gerhardus.Geldenhuis
Hi We have upgraded our modjk from .26 to .28 using mod_jk-1.2.28-httpd-2.2.X.so obtained from http://../tomcat-connectors/jk/binaries/linux/jk-1.2.28/x86_64/ We are running Server version: Apache/2.2.3 Server built: Nov 12 2008 10:40:14 CentOS release 5.2 (Final) After upgrading we are se

server.xml formatting guide

2009-12-04 Thread Gerhardus.Geldenhuis
Hi Just wondering if there is any standard or recommendation for the formatting of server.xml config file for tomcat. Configuring properties for mysql jdbc driver is a good case in point: useUsageAdvisor true

RE: How to get java process id of a user running tomcat

2009-12-03 Thread Gerhardus.Geldenhuis
Thanks for the reply, Out of interest the man page for jps states: NOTE: This utility is unsupported and may not be available in future versions of the JDK. It is not currently available on Windows 98 and Windows ME platforms. This might just be a entry that has not been removed... and the u

RE: How to get java process id of a user running tomcat

2009-12-03 Thread Gerhardus.Geldenhuis
Hi Me being the one who made the ridiculous suggestion of using ps, am now enlightened and will be using jps -mlv and spreading the word... That being said is there any opinions about the soundness of using the Redhat/Centos startup/shutdown script for Tomcat? Regards -Original Message---

RE: How to get java process id of a user running tomcat

2009-12-02 Thread Gerhardus.Geldenhuis
Hi Have a look at the Redhat/Centos startup scripts to see how they do that. If you are running a other linux os then use ps and look for java processes. Normally the java process will have a catalina param somewhere so that is usefull to grep for. Regards -Original Message- From: raj k

RE: Tomcat shudown does not kill java process

2009-11-17 Thread Gerhardus.Geldenhuis
Hi Probably not your problem but worth mentioning. If you options like: JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=5001 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false " that is CATALINA specific you should change it to CATALINA_OPTS="-

RE: mod_jk

2009-02-06 Thread Gerhardus.Geldenhuis
> > 1) As far as I know, no, mod_jk does not read workers.properties > dynamically. > 2) Yes and no, it will not send a request unless communication has been > established with the worker, it may happen that the worker fails, or > someone shut it down. Depending on how you configure the workers an

RE: AJP vs HTTP connectors?

2009-02-04 Thread Gerhardus.Geldenhuis
> -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: 03 February 2009 19:35 > To: Tomcat Users List > Subject: Re: AJP vs HTTP connectors? > > Hi. > > Maybe slightly off-topic, but having a moment of blues and lack of > inspiration/motivation about working on what I

JMX Controlpanel Application

2009-01-21 Thread Gerhardus.Geldenhuis
Hi I was just wondering if anyone can recommend a open source that one can use to build "control panels" based on jmx properties published by the jvm or your own application. We have monitoring software that can alert us when some jmx values exceeds a threshold but I would like to see a tool where

RE: mod_jk - load balancing

2009-01-21 Thread Gerhardus.Geldenhuis
Hi Andrew, It will mark a worker as down and only send requests to "working" workers. There is a separate thread that checks the availability of all workers in an configurable time period which will mark the worker as available/functioning again when it becomes available, where after it will receiv

disable behaviour for a worker in modjk

2009-01-19 Thread Gerhardus.Geldenhuis
Hi We are interested to know what the exact behaviour of modjk is with regards to current running requests when you disable a worker in the web interface. Does it drop all requests currently being processed by that worker or would it wait for requests to be finalized? The worker is part of a load b

Isolating slow and fast connections using apache/modjk

2008-12-30 Thread Gerhardus.Geldenhuis
Hi We have an apache server that load balances two types of applications across different stacks of tomcats. We have a tomcat stack for requests that processes very quickly, lets call this stack A and a tomcat stack for slower running request(different type of application) named stack B. We limi

RE: Can not fail over a web service call using mod_jk

2008-12-09 Thread Gerhardus.Geldenhuis
> -Original Message- > From: Rainer Jung [mailto:[EMAIL PROTECTED] > Sent: 09 December 2008 13:45 > To: Tomcat Users List > Subject: Re: Can not fail over a web service call using mod_jk > > [EMAIL PROTECTED] schrieb: > > From a design point of view do you feel that this is beyond the scop

RE: Can not fail over a web service call using mod_jk

2008-12-09 Thread Gerhardus.Geldenhuis
> -Original Message- > From: Rainer Jung [mailto:[EMAIL PROTECTED] > Sent: 09 December 2008 12:32 > To: Tomcat Users List > Subject: Re: Can not fail over a web service call using mod_jk > > Zeke schrieb: > > Thank you very much, Rainer! > > Yes. My node accept the request first, then it w

RE: apache/modjk behaviour during shutdown

2008-09-30 Thread Gerhardus.Geldenhuis
> > > Would the same hold true for requests that is currently being > > processed by the tomcat. Would apache wait for the tomcat > threads send > > via modjk to complete before terminating them? > > > > Nope. mod_jk has no clue about Tomcat's threads. > Httpd will unload (any) mod_jk module

apache/modjk behaviour during shutdown

2008-09-30 Thread Gerhardus.Geldenhuis
Hi I am trying to understand the behavior of our application stack during an apache shutdown. This question might not a 100% to this list but is a good place to start. I am trying to understand what the behaviour would be when I shutdown an apache that is connected via modjk to a cluster of tomcat

RE: tomcat_trend.pl script is showing Unknown log entry for mod_jk

2008-09-23 Thread Gerhardus.Geldenhuis
Hi Ankush, As far as I know that scripts is not really maintained any more and need a fair amount of tweaking. I might be wrong though. Regards > -Original Message- > From: ankush grover [mailto:[EMAIL PROTECTED] > Sent: 23 September 2008 12:16 > To: users@tomcat.apache.org > Subject: t

RE: 2 Tomcat instances

2007-09-17 Thread Gerhardus.Geldenhuis
Hi Andrew, I would suggest increasing log level for Tomcat, mod_jk and apache. Have a look at catalina.out to see if it logged why your application crashed. It would also help if you could define crash a bit more clearly, state the exact behaviour. If the tomcat/java have not completely died you c

RE: Logformat for mod_jk logs

2007-09-13 Thread Gerhardus.Geldenhuis
[EMAIL PROTECTED] > Sent: 11 September 2007 15:58 > To: users@tomcat.apache.org > Subject: Re: Logformat for mod_jk logs > > > hi > > I have not used it in long while but i think it required: > > JkRequestLogFormat "%w %V %U %s %T %B %H %m" > &g

RE: Understanding jvmRoute usage

2007-09-12 Thread Gerhardus.Geldenhuis
Thanks, So do you assign a different jvmroute to each webapp? That would potentially be a better way to run multiple versions of the same app rather than running different Tomcats. That would be a nice way to switch quickly between different versions. Currently we have quite a painfull method for

Logformat for mod_jk logs

2007-09-11 Thread Gerhardus.Geldenhuis
Hi Does anyone know if the script tomcat_trend.pl requires a specific JkRequestLogFormat string. Doing a search through the list archives on my local machine I found the following two settings being used: JkRequestLogFormat "%b %w %V %T %r" JkRequestLogFormat "%w %V %T" But I am not sure what t

Understanding jvmRoute usage

2007-09-10 Thread Gerhardus.Geldenhuis
Hi I am going through all of the potential settings I can set for mod_jk and am not sure how the route property in mod_jk might be used. I understand that this help to differentiate different servers in a load balanced cluster to prevent sessions getting mixed up and to do session stickyness. I

RE: Differentiate Tomcat 6.x with Tomcat 5.x

2007-09-03 Thread Gerhardus.Geldenhuis
Hi This webpage should answer most of your questions, http://tomcat.apache.org/whichversion.html Regards > -Original Message- > From: MOHD SUFIAN BIN ZAKARIAH ZAKARIAH > [mailto:[EMAIL PROTECTED] > Sent: 03 September 2007 10:09 > To: users@tomcat.apache.org > Subject: Differentiate To

RE: apache getting in "sending reply" state when connecting to tomcat

2007-08-30 Thread Gerhardus.Geldenhuis
Hi I'm going to be a real pain, but it make no sense now... The email has been a team effort in our offices. We have included some diagrams to help illustrate our understanding or lack off. Using a simple example: 1/ Assume I have one httpd server (prefork) that can spawn a maximum of 200 childre

RE: apache getting in "sending reply" state when connecting to tomcat

2007-08-30 Thread Gerhardus.Geldenhuis
Thanks for your patience, things are starting to make more sense now. > > Tomcat associates one thread with each incoming connection > (at least the default connector) independant of it's > idleness, i.e. even if there is no request coming in. The > connectionTimeout parameter in the connecto

RE: apache getting in "sending reply" state when connecting to tomcat

2007-08-30 Thread Gerhardus.Geldenhuis
Hi This part is still sligtly confusing to me: We have 575 potential connections that we can except on the httpd server, according to my understanding mod_jk will load balance these connections to the tomcat servers. Thus typically 48 connections per tomcat. This does seem obviously wrong ... We

RE: apache getting in "sending reply" state when connecting to tomcat

2007-08-29 Thread Gerhardus.Geldenhuis
Charles, when I say apache I mean httpd service. There is 3 different servers mentioned. * The httpd server that fronts the tomcat servers * The tomcat servers that serves the application * The httpd server, scaled down on the same physical machine as the tomcat server which we use for basic moni

RE: apache getting in "sending reply" state when connecting to tomcat

2007-08-29 Thread Gerhardus.Geldenhuis
Hi I forgot to add, that our solution at the moment is to restart apache which 9 out of 10 times solves the problems. We see connections reach almost 250 (248,249) per tomcat server on the apache box. After restart this drops down We also only see the problem when we are experiencing heavy load a

apache getting in "sending reply" state when connecting to tomcat

2007-08-29 Thread Gerhardus.Geldenhuis
Hi I'm kind of between a rock and a hard place. We have a problem in our production system that occurs quite regularly. Apache's connections all get into a Sending Reply ( W ) state and which makes the application unresponsive. We have an apache 2.0.52 fronting 12 tomcat 5.5 all on CentOS 4.5 usi

RE: workers.properties confusion

2007-08-24 Thread Gerhardus.Geldenhuis
Cool, it is starting to make a bit more sense. Does that mean that setting settings in apache:/etc/httpd/conf/workers.properties will override any workers.properties set in tomcat servers? > -Original Message- > From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Sent: 24 August 2007 1

workers.properties confusion

2007-08-24 Thread Gerhardus.Geldenhuis
Hi Another easy question to answer, hopefully... I just spend a lot of time going through this page: http://tomcat.apache.org/connectors-doc/reference/workers.html to decide which parameters we need/want to implement. However I am a bit confused between the /etc/httpd/conf/workers.properties

recovery_options bitmask values for mod_jk

2007-08-24 Thread Gerhardus.Geldenhuis
Hi Hopefully a simple answer, the documentation says recovery_options is a bitmask but what I am unsure of is do I set the value in binary or do I use integer values? 1: don't recover if Tomcat failed after getting the request 2: don't recover if Tomcat failed after sending the headers to client

RE: context.xml not being copied across on deployment

2007-08-17 Thread Gerhardus.Geldenhuis
Hi Iain, From a previous question I asked on the list: If you use auto-deploy and you have a WAR file or directory in the "webapps" directory, then any "path" attribute you have in your element will be ignored (or, worse, confused and used ion some weird way). Perhaps this is a problem with your

RE: Load Balancing

2007-08-15 Thread Gerhardus.Geldenhuis
Hi Dean, Still no luck, the attachement I am seeing contains the following: - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Coul