Re: WAS: tomcat 5.0.16 Replication

2004-01-14 Thread jean-philippe . belanger
Ok here is what is going on. Seams like the problem is not with the tomcat replication but with the damned JK balancer. :( When the 2nd tomcat node is shutdown, the balancer resend all the request pending to the other node. (BUT, without the parameter.) I sent 50 request to each node (or so)

RE: WAS: tomcat 5.0.16 Replication

2004-01-14 Thread Filip Hanik
: WAS: tomcat 5.0.16 Replication Ok here is what is going on. Seams like the problem is not with the tomcat replication but with the damned JK balancer. :( When the 2nd tomcat node is shutdown, the balancer resend all the request pending to the other node. (BUT, without the parameter.) I sent 50

Re: WAS: tomcat 5.0.16 Replication

2004-01-14 Thread jean-philippe . belanger
://balance.sourceforge.net on unix only Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 6:09 AM To: Tomcat Users List Subject: Re: WAS: tomcat 5.0.16 Replication Ok here is what is going on. Seams like the problem

Re: WAS: tomcat 5.0.16 Replication

2004-01-13 Thread jean-philippe . belanger
reproduce this. do you by any chance have the test program you have and would email it to me? Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:56 AM To: Tomcat Users List Subject: Re: WAS: tomcat 5.0.16 Replication I understand

Re: WAS: tomcat 5.0.16 Replication

2004-01-13 Thread Giuliano Gavazzi
This is the kind of behaviour that I really cannot understand. Makes archiving a pain and is totally inconsiderate. At 8:23 am -0500 2004/01/13, [EMAIL PROTECTED] wrote: Still checking to make sure it ain't on my side (MVC or such) Jean-Philippe Bélanger CGI [25kB of inessential quote]

Re: WAS: tomcat 5.0.16 Replication

2004-01-13 Thread jean-philippe . belanger
And your reply is better? I'm trying to get that replication thing working with Filip. If there is something imcompatible with his code that make this behavior happens. I will try and find it before giving him the job. He's not the only one that has to work with this. I'm offering my help. I'm

RE: WAS: tomcat 5.0.16 Replication

2004-01-13 Thread Ralph Einfeldt
PROTECTED] Sent: Tuesday, January 13, 2004 3:42 PM To: Tomcat Users List Subject: Re: WAS: tomcat 5.0.16 Replication And your reply is better? I'm trying to get that replication thing working with Filip

Re: WAS: tomcat 5.0.16 Replication

2004-01-13 Thread jean-philippe . belanger
Well then... Sorry about misunderstanding. I'll try to remove my thousand of quotes now! :P and keep only the last one Jean-Philippe Bélanger CGI Ralph Einfeldt wrote: He didn't critique that you posted, just how. He doesn't like posts with quotes that are not needed. (That's the attitude of

Re: WAS: tomcat 5.0.16 Replication

2004-01-13 Thread jean-philippe . belanger
:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:56 AM To: Tomcat Users List Subject: Re: WAS: tomcat 5.0.16 Replication I understand that. Here more info... I make a servlet request that does this: while ( i 25 ) { if ( request.getParameters(xxx) == null ) { System.out.println(param

Re: WAS: tomcat 5.0.16 Replication

2004-01-13 Thread Filip Hanik
] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 9:24 AM Subject: Re: WAS: tomcat 5.0.16 Replication I've tried to replicate the problem with a simple servlet. outside of our MVC architecture (controller). and seams like I can't. I've put traces in our controller on the doPost

Re: WAS: tomcat 5.0.16 Replication

2004-01-13 Thread jean-philippe . belanger
[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 9:24 AM Subject: Re: WAS: tomcat 5.0.16 Replication I've tried to replicate the problem with a simple servlet. outside of our MVC architecture (controller). and seams like I can't. I've put traces in our controller on the doPost method writing

RE: WAS: tomcat 5.0.16 Replication

2004-01-13 Thread Filip Hanik
if you have a test case for me I can take a look and see what happens Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 11:12 AM To: Tomcat Users List Subject: Re: WAS: tomcat 5.0.16 Replication That's the catch. Everything

Re: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread jean-philippe . belanger
, 2004 12:05 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Hrmmm, perhaps I should reboot using the non-SMP kernel and try it. I'll have to do that when I get back to the servers. -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Friday, January 09

Re: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread Jeanfrancois Arcand
You will notice the improvement under load. of course, get latest from cvs first Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:05 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Hrmmm, perhaps I should reboot

Re: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread jean-philippe . belanger
it works for you You will notice the improvement under load. of course, get latest from cvs first Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:05 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Hrmmm, perhaps I

RE: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread Steve Nelson
PM To: Tomcat Users List Subject: Re: WAS: tomcat 5.0.16 Replication Been working on testing the new modules and came across something weird. Wondering if you got any idea on the cause/problem while I continue investigating Scenario: - one web page login in a user. receive 3 parameters (user

RE: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread Filip Hanik
replicated, I am working on that right now Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:29 AM To: Tomcat Users List Subject: Re: WAS: tomcat 5.0.16 Replication Been working on testing the new modules and came across something weird

RE: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread Filip Hanik
can you check the logs, if there is an uncaught exception, the ACK will never get sent Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:39 AM To: 'Tomcat Users List' Subject: RE: WAS: tomcat 5.0.16 Replication I had an instance

Re: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread jean-philippe . belanger
request parameters. Also in this release, the principal is not being replicated, I am working on that right now Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:29 AM To: Tomcat Users List Subject: Re: WAS: tomcat 5.0.16 Replication

RE: WAS: tomcat 5.0.16 Replication

2004-01-12 Thread Filip Hanik
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:56 AM To: Tomcat Users List Subject: Re: WAS: tomcat 5.0.16 Replication I understand that. Here more info... I make a servlet request that does this: while ( i 25

Re: tomcat 5.0.16 Replication

2004-01-09 Thread jean-philippe . belanger
, January 08, 2004 6:43 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication ok guys, good news. The 100% cpu is totally my fault. I messed up on that one. I was registering OP_WRITE as an interest this is not good :) checking in the working code in 15 min, some more regression tests

Re: tomcat 5.0.16 Replication

2004-01-09 Thread jean-philippe . belanger
PROTECTED] Sent: Thursday, January 08, 2004 6:43 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication ok guys, good news. The 100% cpu is totally my fault. I messed up on that one. I was registering OP_WRITE as an interest this is not good :) checking in the working code in 15 min, some

RE: tomcat 5.0.16 Replication

2004-01-09 Thread Filip Hanik
I will be implementing some performance improvements today. I'll let you know how it goes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 4:33 AM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication Hurray for Fillip! :) I'll

RE: tomcat 5.0.16 Replication

2004-01-09 Thread Filip Hanik
Hanik [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 6:43 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication ok guys, good news. The 100% cpu is totally my fault. I messed up on that one. I was registering OP_WRITE as an interest this is not good :) checking

RE: tomcat 5.0.16 Replication

2004-01-09 Thread Steve Nelson
I don't seem to need the ld_assume_kernel thing. What are the symptoms when it is required? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:33 PM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication Just tried the CVS head

Re: tomcat 5.0.16 Replication

2004-01-09 Thread jean-philippe . belanger
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 10:33 AM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication Just tried the CVS head and everything works with any CPU going crazy! only if ld_assume_kernel is set to 2.4 One more question

Re: tomcat 5.0.16 Replication

2004-01-09 Thread jean-philippe . belanger
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:33 PM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication Just tried the CVS head and everything works with any CPU going crazy! only if ld_assume_kernel is set to 2.4 One more question for you

RE: tomcat 5.0.16 Replication

2004-01-09 Thread Steve Nelson
Now that's really very strange. I am running RH9 and everything seems to go through just fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 12:56 PM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication The replication

RE: tomcat 5.0.16 Replication

2004-01-09 Thread Filip Hanik
interesting, mine doesn't work at all unless I set the LD_ASSUME_KERNEL what VM (version and name) are you using? Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 10:59 AM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication

RE: tomcat 5.0.16 Replication

2004-01-09 Thread Steve Nelson
To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication interesting, mine doesn't work at all unless I set the LD_ASSUME_KERNEL what VM (version and name) are you using? Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 10:59 AM

Re: tomcat 5.0.16 Replication

2004-01-09 Thread jean-philippe . belanger
] Sent: Friday, January 09, 2004 10:59 AM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Now that's really very strange. I am running RH9 and everything seems to go through just fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January

RE: tomcat 5.0.16 Replication

2004-01-09 Thread Filip Hanik
) -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 11:05 AM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication sun JDK 1.4.2 for Linux Kernel 2.4.20-8smp Tomcat 5.0.16 with catalina-cluster.jar from CVS head Hrmmmare yours

RE: tomcat 5.0.16 Replication

2004-01-09 Thread Steve Nelson
(build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) same on both -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 1:56 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication [EMAIL PROTECTED] bin]# uname

RE: tomcat 5.0.16 Replication

2004-01-09 Thread Steve Nelson
Hrmmm, perhaps I should reboot using the non-SMP kernel and try it. I'll have to do that when I get back to the servers. -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 2:04 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication

WAS: tomcat 5.0.16 Replication

2004-01-09 Thread Filip Hanik
09, 2004 12:05 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Hrmmm, perhaps I should reboot using the non-SMP kernel and try it. I'll have to do that when I get back to the servers. -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Friday

Re: tomcat 5.0.16 Replication

2004-01-08 Thread jean-philippe . belanger
. Will let you know how it goes also, try asynchronous replication, does it still go to 100%? Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 12:08 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Okay, did that got

Re: tomcat 5.0.16 Replication

2004-01-08 Thread jean-philippe . belanger
, try asynchronous replication, does it still go to 100%? Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 12:08 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Okay, did that got this BEGIN TO RECEIVE SENT:Default 1

RE: tomcat 5.0.16 Replication

2004-01-08 Thread Steve Nelson
] Sent: Thursday, January 08, 2004 12:25 PM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication More content for you Filip. I've checked and followed the code of the listen event in ReplicationListener.java Here's what happening: selector.select(timeout) - return immediatly with one

Re: tomcat 5.0.16 Replication

2004-01-08 Thread jean-philippe . belanger
To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication More content for you Filip. I've checked and followed the code of the listen event in ReplicationListener.java Here's what happening: selector.select(timeout) - return immediatly with one SelectorKey available That key is not Acceptable

RE: tomcat 5.0.16 Replication

2004-01-08 Thread Filip Hanik
] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 11:46 AM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication The only changes in the ReplicationListener class is the try catch that was added. the code logic is the same. Weird enough. So it's probably elsewhere that something

RE: tomcat 5.0.16 Replication

2004-01-08 Thread Filip Hanik
: Thursday, January 08, 2004 2:54 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication another code change was, that I am now accepting keys for OP_READ and OP_WRITE. before it was only OP_READ, but for synchronous replication I need both. this is good info, I just got RH9 installed

RE: tomcat 5.0.16 Replication

2004-01-08 Thread Filip Hanik
Filip -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 6:43 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication ok guys, good news. The 100% cpu is totally my fault. I messed up on that one. I was registering OP_WRITE as an interest

tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
I was having random problems with clustering when starting up. Mostly it had to do with Timing out when the manager was starting up. I built the CVS version and it solved that problem. But it has caused some serious performance problems. First a little background. I have 2 servers, dual

RE: tomcat 5.0.16 Replication (This is a Thread is a Duplicate Pl ease Ignore)

2004-01-07 Thread Steve Nelson

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
: Wednesday, January 07, 2004 6:51 AM To: '[EMAIL PROTECTED]' Subject: tomcat 5.0.16 Replication I was having random problems with clustering when starting up. Mostly it had to do with Timing out when the manager was starting up. I built the CVS version and it solved that problem. But it has caused

Re: tomcat 5.0.16 Replication

2004-01-07 Thread jean-philippe . belanger
not successfully ran tomcat clustering on RH9, I use RH8. I also don't have a RH9 machine at home yet, so I can't develop for it Filip -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 6:51 AM To: '[EMAIL PROTECTED]' Subject: tomcat 5.0.16

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
: Wednesday, January 07, 2004 11:43 AM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication Currently running tomcat 5.0.16 with the CVS HEAD of the replication module. This is under redhat 9. So far so good. What kind of problem did you encounter under rh9? Jean-Philippe Bélanger Filip

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 1:43 PM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication Currently running tomcat 5.0.16 with the CVS HEAD of the replication module. This is under redhat 9. So far so good. What kind

Re: tomcat 5.0.16 Replication

2004-01-07 Thread jean-philippe . belanger
] Sent: Wednesday, January 07, 2004 11:43 AM To: Tomcat Users List Subject: Re: tomcat 5.0.16 Replication Currently running tomcat 5.0.16 with the CVS HEAD of the replication module. This is under redhat 9. So far so good. What kind of problem did you encounter under rh9? Jean-Philippe Bélanger Filip

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
PROTECTED]' Subject: tomcat 5.0.16 Replication I was having random problems with clustering when starting up. Mostly it had to do with Timing out when the manager was starting up. I built the CVS version and it solved that problem. But it has caused some serious performance problems. First a little

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 1:58 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication 100% cpu can mean that you have a multicast problem, try to run java -cp tomcat-replication.jar MCaster download the jar from http://cvs.apache.org/~fhanik

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
: tomcat 5.0.16 Replication Okay, did that got this BEGIN TO RECEIVE SENT:Default 1 RECEIVED:Default 1 FROM /10.0.0.110: SENT:Default 2 BEGIN TO RECEIVE RECEIVED:Default 2 FROM /10.0.0.110: SENT:Default 3 BEGIN TO RECEIVE RECEIVED:Default 3 FROM /10.0.0.110: SENT:Default 4 BEGIN TO RECEIVE

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
executable. Sounds like alot of the load may be in system calls. -Steve -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:47 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication I'll try to get an instance going today. Will let you

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
the the java executable. Sounds like alot of the load may be in system calls. -Steve -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 2:47 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication I'll try to get an instance going today

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
Nelson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 3:03 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Okay, I reverted back to the 5.0.16 version and now I don't have the high CPU ute. But it takes almost 60 seconds for the Manager to request the session

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Filip Hanik
you should do export LD_ASSUME_KERNEL=2.4.1 not export set LD_ASSUME_KERNEL=2.4.1 in regular bash shell -Original Message- From: Steve Nelson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 1:38 PM To: 'Tomcat Users List' Subject: RE: tomcat 5.0.16 Replication Heh, now

RE: tomcat 5.0.16 Replication

2004-01-07 Thread Steve Nelson
Ends up doing the same thing. The variable was set. I checked it with an echo. -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 4:05 PM To: Tomcat Users List Subject: RE: tomcat 5.0.16 Replication you should do export LD_ASSUME_KERNEL

RE: tomcat 5.0.16 Replication

2004-01-05 Thread jean-philippe . belanger
: Saturday, January 03, 2004 8:07 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: tomcat 5.0.16 Replication it will come out in the next release. Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 9:41 AM To: Tomcat-user

RE: tomcat 5.0.16 Replication

2004-01-05 Thread Filip Hanik
: tomcat 5.0.16 Replication I built the latest CVS branch for the clustering module and replaced my catalina-cluster.jar. Seams like everything is synchronous as stated. I had another unrelated problem with a IFRAME that IE seams to load before the server (tomcat) ends the request. So even

RE: tomcat 5.0.16 Replication

2004-01-03 Thread Filip Hanik
it will come out in the next release. Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 9:41 AM To: Tomcat-user Subject: tomcat 5.0.16 Replication The new tomcat 5.0.16 replication seams to work odly. From what I've read from

tomcat 5.0.16 Replication

2003-12-31 Thread jean-philippe . belanger
The new tomcat 5.0.16 replication seams to work odly. From what I've read from the documentation and the mailing list, the clustering is supposed to be done synchronously. Right? Well that's not what's happening on my end, the client receives the response before the whole replication thing