test session's replication in tomcat cluster ?

2010-02-23 Thread Stephane Lorin
Hi,

 

I've just configure a tomcat cluster and i would like to know how could i
test that and see the data were replicated on my second node.

 

Thank you.



Re: test session's replication in tomcat cluster ?

2010-02-23 Thread André Warnier

Stephane Lorin wrote:

Hi,

 


I've just configure a tomcat cluster and i would like to know how could i
test that and see the data were replicated on my second node.



I am sure that several people on this list are already busy sharpening 
their knives to send you pointed answers requesting at least *some* 
details of your configuration.


Before that however, I would like to join my voice and ask, naively, 
/if/ one would take the question above as it is, and assume that the 
Tomcat was the latest version 6.0.24, and assuming that the clustering 
setup was correct, and assuming that there are only two Tomcats, and 
assuming any other set of standard assumptions,
is there any general method applicable to at least see if it seems to be 
working ?
And if not, what would be the minimum set of information needed to 
provide such a method ?



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: test session's replication in tomcat cluster ?

2010-02-23 Thread Pid

On 23/02/2010 17:13, André Warnier wrote:

Stephane Lorin wrote:

Hi,



I've just configure a tomcat cluster and i would like to know how could i
test that and see the data were replicated on my second node.



I am sure that several people on this list are already busy sharpening
their knives to send you pointed answers requesting at least *some*
details of your configuration.

Before that however, I would like to join my voice and ask, naively,
/if/ one would take the question above as it is, and assume that the
Tomcat was the latest version 6.0.24, and assuming that the clustering
setup was correct, and assuming that there are only two Tomcats, and
assuming any other set of standard assumptions,



is there any general method applicable to at least see if it seems to be
working ?


Assuming there's a load balancer in front and you're using sticky sessions:

1. Display session id in page, note route.

2. Add a flag value to session.

3. Count to 10 (probably)

4. load page using /path/to/page.jsp;jsessionid=SAMESESSIONID.otherroute

5. display the flag value from session.


OR

1. Enable Tomcat logging.



And if not, what would be the minimum set of information needed to
provide such a method ?


Cluster config, sticky session?  sync / async?  load balancer?


p


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org