You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by o-rabbit <rj...@gmail.com> on 2010/05/12 15:51:27 UTC

help : Tomcat 6.0.20 session replication not working


I have two load balanced instances of tomcat with apache 2.2.14 in front
using mod_jk 1.2.28.
The load balancing is working as expected.
I want to turn on session replication ... so I did the following :

1. I uncommented  <Cluster
className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> in server.xml of
both tomcats 
2. Add <distributable/> in web.xml
3. restarted the instances

On both instances I get the following message:
INFO: Manager [localhost#/mycontext]: skipping state transfer. No members
active in cluster group.

Is there something more I need to do?? Please reply urgently!!!
-- 
View this message in context: http://old.nabble.com/help-%3A-Tomcat-6.0.20-session-replication-not-working-tp28536224p28536224.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: help : Tomcat 6.0.20 session replication not working

Posted by o-rabbit <rj...@gmail.com>.


On Wed, May 12, 2010 at 3:51 PM, o-rabbit <rj...@gmail.com> wrote:
>
> Is there something more I need to do??
>

yes: read the clustering-how-to:
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html

fyi...People usually post in forums such as this after going through the
application website.
All the three configuration examples given there did not work for me. I have
followed all of the instructions ... but  replication on failover does not
work. All sessions on the node that crashed do not get replicated. I have
also tried static-membership, but it is throwing classnotfoundexception for
each of the attributes which are stored in the servletcontext (application
object).


-- 
View this message in context: http://old.nabble.com/help-%3A-Tomcat-6.0.20-session-replication-not-working-tp28536224p28538743.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: help : Tomcat 6.0.20 session replication not working

Posted by Gregor Schneider <rc...@googlemail.com>.
On Wed, May 12, 2010 at 3:51 PM, o-rabbit <rj...@gmail.com> wrote:
>
> Is there something more I need to do??
>

yes: read the clustering-how-to:
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html

rgds

gregor
-- 
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

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


Re: help : Tomcat 6.0.20 session replication not working

Posted by Gregor Schneider <rc...@googlemail.com>.
On Wed, May 12, 2010 at 7:21 PM, o-rabbit <rj...@gmail.com> wrote:
>
> I am glad everyone does not think like you do!
>
FYI:

André is well know to this group as one of the persons trying their
very best to help anybody having problems regarding Tomcat.

If you didn't receive any answer helping you out of your misery yet,
it simply means that noone has any idea why you're facing the
problems.

Tomcat clustering incl. session replication is known to work very
well, and lb'ing with a fronted httpd using mod_jk is also a very
common scenario known to work very well.

It's pretty likely that some information to solve your issue is
missing in the information you gave us.

Since you spent only a few sentences describing your problem, for me
it was natural to first point you to the according docs.

And no, it's not as you stated that most ppl posting their questions
here read the docs *before* they are posting here - that's why I
pointed you to the docs hoping they might give you some clues.

Anyways, just move ahead with your behaviour, pissing ppl like André
off. I suggest you also insult Chuck, Mark and Pid, meaning that
you'll have those guys off your list of *volunteers* which might be
able to shed some light.

Gregor
-- 
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi

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


Re: help : Tomcat 6.0.20 session replication not working

Posted by o-rabbit <rj...@gmail.com>.
I am glad everyone does not think like you do!

awarnier wrote:
> 
> o-rabbit wrote:
> ...
>> 
>> Is there something more I need to do?? Please reply urgently!!!
> 
> Hi.
> For your information, the above is almost guaranteed to have the 
> opposite effect of what you would like.
> The people answering on forums such as this one, are volunteers who 
> donate their time.
> You are a user of a product that you get for free, and of a forum where 
> you also get answers for free.
> In such a case, it is generally considered in bad taste to ask people to 
> hurry, and it generally has the effect of de-motivating people who might 
> have answered.
> For more details, please read
> http://www.catb.org/~esr/faqs/smart-questions.html
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/help-%3A-Tomcat-6.0.20-session-replication-not-working-tp28536224p28538793.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: help : Tomcat 6.0.20 session replication not working

Posted by André Warnier <aw...@ice-sa.com>.
o-rabbit wrote:
...
> 
> Is there something more I need to do?? Please reply urgently!!!

Hi.
For your information, the above is almost guaranteed to have the 
opposite effect of what you would like.
The people answering on forums such as this one, are volunteers who 
donate their time.
You are a user of a product that you get for free, and of a forum where 
you also get answers for free.
In such a case, it is generally considered in bad taste to ask people to 
hurry, and it generally has the effect of de-motivating people who might 
have answered.
For more details, please read
http://www.catb.org/~esr/faqs/smart-questions.html



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