Re: SPAM?: Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread Filip Hanik
awesome catch Apu
I will add this to my to do list, so that replication is independent of
server out of synch time

Filip

- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 16, 2004 10:51 AM
Subject: Re: SPAM?: Re: Tomcat replication Unable to receive message through
TCP channel


> YOU'RE KIDDING ME!
>
> sorry for the caps but I just lost a day of work for a stupid server out
> of time! :P
>
> Thanks btw!
>
> Jean-Philippe Bélanger
> CGI
>
>
> Apu Shah wrote:
>
> >check the dates on both machines. i think (filip please clarify if i'm
> >wrong) if one machine is out of sync with the other by an interval equal
> >or greater than the session timeout, the sessions will expire on the
> >receiving end.
> >
> >
> >
> >
> >
> >>Ok I really have no idea why this ain't working.
> >>Same clustering version on both cluster. The first one works A1.. the
> >>second invalidates all my sessions
> >>
> >>Only difference between the two clusters are that the 2nd one is a
> >>multi-ip server (3 adresses on the same eth). But the hostname is
> >>pointing to the main eth0 address.
> >>
> >>any idea?
> >>
> >>Jean-Philippe Bélanger
> >>CGI
> >>
> >>
> >>
> >>Filip Hanik wrote:
> >>
> >>
> >>
> >>>yikes :)
> >>>I fixed this one two days ago, download 5.0.18 and let me know if the
> >>>problem persists.
> >>>
> >>>Filip
> >>>
> >>>
> >>>
> >>>
> >>>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SPAM?: Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread jean-philippe . belanger
YOU'RE KIDDING ME!

sorry for the caps but I just lost a day of work for a stupid server out 
of time! :P

Thanks btw!

Jean-Philippe Bélanger
CGI
Apu Shah wrote:

check the dates on both machines. i think (filip please clarify if i'm
wrong) if one machine is out of sync with the other by an interval equal
or greater than the session timeout, the sessions will expire on the
receiving end.


 

Ok I really have no idea why this ain't working.
Same clustering version on both cluster. The first one works A1.. the
second invalidates all my sessions
Only difference between the two clusters are that the 2nd one is a
multi-ip server (3 adresses on the same eth). But the hostname is
pointing to the main eth0 address.
any idea?

Jean-Philippe Bélanger
CGI


Filip Hanik wrote:

   

yikes :)
I fixed this one two days ago, download 5.0.18 and let me know if the
problem persists.
Filip



 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread Apu Shah

check the dates on both machines. i think (filip please clarify if i'm
wrong) if one machine is out of sync with the other by an interval equal
or greater than the session timeout, the sessions will expire on the
receiving end.



> Ok I really have no idea why this ain't working.
> Same clustering version on both cluster. The first one works A1.. the
> second invalidates all my sessions
>
> Only difference between the two clusters are that the 2nd one is a
> multi-ip server (3 adresses on the same eth). But the hostname is
> pointing to the main eth0 address.
>
> any idea?
>
> Jean-Philippe Bélanger
> CGI
>
>
>
> Filip Hanik wrote:
>
>>yikes :)
>>I fixed this one two days ago, download 5.0.18 and let me know if the
>>problem persists.
>>
>>Filip
>>
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread jean-philippe . belanger
Ok I really have no idea why this ain't working.
Same clustering version on both cluster. The first one works A1.. the 
second invalidates all my sessions

Only difference between the two clusters are that the 2nd one is a 
multi-ip server (3 adresses on the same eth). But the hostname is 
pointing to the main eth0 address.

any idea?

Jean-Philippe Bélanger
CGI


Filip Hanik wrote:

yikes :)
I fixed this one two days ago, download 5.0.18 and let me know if the
problem persists.
Filip

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread Filip Hanik
yikes :)
I fixed this one two days ago, download 5.0.18 and let me know if the
problem persists.

Filip

- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 16, 2004 7:50 AM
Subject: Tomcat replication Unable to receive message through TCP channel


> Just installed the tomcat 5.0.16 with cvs for clustering on my 2nd
> server cluster.
> The first one is running pretty well without any bug whatsoever. But
> that new cluster seams to have some problem with the replication with
> it`s going a specific way.
>
>  From web1 to web2 it works fine. but if I hit the web2 and it need to
> replicate to web1 it gives this error.
>
> Geeh? invalidated?
>
> Unable to receive message through TCP channel
> java.lang.IllegalStateException: getAttributeNames: Session already
> invalidated
> at
>
org.apache.catalina.session.StandardSession.getAttributeNames(StandardSessio
n.java:1005)
> at
>
org.apache.catalina.cluster.session.ReplicatedSession.toString(ReplicatedSes
sion.java:295)
> at java.lang.String.valueOf(String.java:2173)
> at java.lang.StringBuffer.append(StringBuffer.java:369)
> at
>
org.apache.catalina.cluster.session.SimpleTcpReplicationManager.messageRecei
ved(SimpleTcpReplicationManager.java:610)
> at
>
org.apache.catalina.cluster.session.SimpleTcpReplicationManager.messageDataR
eceived(SimpleTcpReplicationManager.java:642)
> at
>
org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleT
cpCluster.java:716)
> at
> org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:117)
> at
>
org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplica
tionThread.java:175)
> at
>
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThrea
d.java:113)
> 16-Jan-2004 10:49:04 AM
> org.apache.catalina.cluster.session.SimpleTcpReplicationManager log
>
>
> Jean-Philippe Bélanger
> CGI
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread jean-philippe . belanger
Just installed the tomcat 5.0.16 with cvs for clustering on my 2nd 
server cluster.
The first one is running pretty well without any bug whatsoever. But 
that new cluster seams to have some problem with the replication with 
it`s going a specific way.

From web1 to web2 it works fine. but if I hit the web2 and it need to 
replicate to web1 it gives this error.

Geeh? invalidated?

Unable to receive message through TCP channel
java.lang.IllegalStateException: getAttributeNames: Session already 
invalidated
   at 
org.apache.catalina.session.StandardSession.getAttributeNames(StandardSession.java:1005)
   at 
org.apache.catalina.cluster.session.ReplicatedSession.toString(ReplicatedSession.java:295)
   at java.lang.String.valueOf(String.java:2173)
   at java.lang.StringBuffer.append(StringBuffer.java:369)
   at 
org.apache.catalina.cluster.session.SimpleTcpReplicationManager.messageReceived(SimpleTcpReplicationManager.java:610)
   at 
org.apache.catalina.cluster.session.SimpleTcpReplicationManager.messageDataReceived(SimpleTcpReplicationManager.java:642)
   at 
org.apache.catalina.cluster.tcp.SimpleTcpCluster.messageDataReceived(SimpleTcpCluster.java:716)
   at 
org.apache.catalina.cluster.io.ObjectReader.execute(ObjectReader.java:117)
   at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.drainChannel(TcpReplicationThread.java:175)
   at 
org.apache.catalina.cluster.tcp.TcpReplicationThread.run(TcpReplicationThread.java:113)
16-Jan-2004 10:49:04 AM 
org.apache.catalina.cluster.session.SimpleTcpReplicationManager log

Jean-Philippe Bélanger
CGI
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]