tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Avenante <d.avena...@gmail.com>
Subject Re: Tomcat 5.5.15 Clustering ?
Date Thu, 16 Feb 2006 14:31:29 GMT
Now tell us
1. OS Version
 - gentoo with 2.6.15 kernel

2. Java version
 - Sun JDK 1.5.0.06


OK in response of your previous message.
I start the two servers and run MCast
output is :
On agnes : java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 ovea-inspiron
Usage MCaster [address port message]
BEGIN TO RECEIVE
SENT:ovea-inspiron1
RECEIVED:ovea-inspiron1 FROM /192.168.2.102:45564
BEGIN TO RECEIVE
SENT:ovea-inspiron2
RECEIVED:▒��(f▒tcp://192.168.2.102:400cluster1 FROM /192.168.2.102:45564
SENT:ovea-inspiron3
BEGIN TO RECEIVE
RECEIVED:�t�(g▒tcp://192.168.2.103:400cluster1 FROM /192.168.2.103:45564
SENT:ovea-inspiron4
BEGIN TO RECEIVE
RECEIVED:��(f▒tcp://192.168.2.102:400cluster1 FROM /192.168.2.102:45564

On ovea-inspiron : java -cp tomcat-replication.jar MCaster 224.0.0.1 45564 agnes
Usage MCaster [address port message]
BEGIN TO RECEIVE
SENT:agnes1
RECEIVED:agnes1 FROM /192.168.2.103:45564
BEGIN TO RECEIVE
RECEIVED:gm???f▒tcp://192.168.2.102:400cluster1 FROM /192.168.2.102:45564
SENT:agnes2
BEGIN TO RECEIVE
RECEIVED:▒????g▒tcp://192.168.2.103:400cluster1 FROM /192.168.2.103:45564
SENT:agnes3
BEGIN TO RECEIVE
RECEIVED:k_???f▒tcp://192.168.2.102:400cluster1 FROM /192.168.2.102:45564
SENT:agnes4

For the next steps wich configuration do you want ?
with or without mcastBindAddress in server.xml configuration

Then follow these steps
1. Shutdown the MCaster program
2. Shutdown both Tomcats - delete or archive your logs
3. Set waitForAck="false" on your <Sender> element
4. Start tomcat 1
5. Wait 10 seconds
6. Start tomcat 2
7. Send us your new output from tomcat





On 2/16/06, Filip Hanik - Dev Lists <devlists@hanik.com> wrote:
>
> ok, you didn't read my message again, that's ok.
>
> Now tell us
> 1. OS Version
> 2. Java version
>
> Then follow these steps
> 1. Shutdown the MCaster program
> 2. Shutdown both Tomcats - delete or archive your logs
> 3. Set waitForAck="false" on your <Sender> element
> 4. Start tomcat 1
> 5. Wait 10 seconds
> 6. Start tomcat 2
> 7. Send us your new output from tomcat
>
> Filip
>
>
> David Avenante wrote:
> > See my previous post
> > it's
> >
> >      on agnes the command java -cp tomcat-replication.jar MCaster
> > 224.0.0.1 45564 ovea-inspiron
> >      and on ovea-inspiron start comand : java -cp
> > tomcat-replication.jar MCaster 224.0.0.1 45564 agnes
> >
> >      the ouput as the same a the other tests but tcpdump info are now :
> >      on agnes
> >      12:43: 02.336748 IP ovea-inspiron.45566 >
> > all-systems.mcast.net.45566: UDP, length 7
> >      12:43:02.395214 IP agnes.45564 > all-systems.mcast.net.45564:
> > UDP, length 15
> >      12:43:05.400696 IP agnes.45564 > all-systems.mcast.net.45564:
> > UDP, length 15
> >      12:43:05.506764 IP ovea-inspiron.45566 >
> > all-systems.mcast.net.45566: UDP, length 7
> >      12:43:08.405287 IP agnes.45564 > all-systems.mcast.net.45564:
> > UDP, length 15
> >      12:43:08.604056 IP ovea-inspiron.45566 >
> > all-systems.mcast.net.45566: UDP, length 7
> >      12:43:11.410371 IP agnes.45564 > all-systems.mcast.net.45564 :
> > UDP, length 15
> >      12:43:11.608944 IP ovea-inspiron.45566 >
> > all-systems.mcast.net.45566: UDP, length 7
> >
> >      on ovea-inspiron
> >      12:45:55.861466 IP ovea-inspiron.45566 >
> > all-systems.mcast.net.45566:UDP, length 7
> >      12:45:57.983294 IP AGNES.45564 > all-systems.mcast.net.45564:
> > UDP, length 14
> >      12:45:58.914085 IP ovea-inspiron.45566 >
> > all-systems.mcast.net.45566:UDP, length 7
> >      12:46:00.988429 IP AGNES.45564 > all-systems.mcast.net.45564:
> > UDP, length 15
> >      12:46:01.918123 IP ovea-inspiron.45566 >
> > all-systems.mcast.net.45566:UDP , length 7
> >
> >
> >
> > On 2/15/06, Filip Hanik - Dev Lists <devlists@hanik.com> wrote:
> >
> >> ok, we will work through it one item at the time.
> >>
> >> show me the output from both servers MCaster program (not the tcpdump)
> >> when they run simultanously.
> >>
> >> Filip
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message