-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Suhas,
On 5/21/14, 9:46 AM, Suhaas Lang wrote: > Thanks for your response. No. I am not allowed to use cron :-) > > One thing I have been asked to look at is nodes co-ordinating by > sending events to each other. > > But again I am wondering how coordination would take place in case > one node goes down. In that case, when it is started again and > becomes a part of the cluster, it would try to start services that > shoukd run periodically. But its intervals woukd be out of sync wit > rest of the clusters. Sounds like you need to do some research. - -chris > Suhaas On May 20, 2014 9:11 PM, "Christopher Schultz" > <ch...@christopherschultz.net> wrote: > > Suhaas, > > On 5/19/14, 11:40 AM, Suhaas Lang wrote: >>>> The Tomcat cluster is configured as load balancer only. There >>>> is no session replication. So in case a Tomcat node on which >>>> the user session is running, dies in that case the session is >>>> lost. >>>> >>>> We do need to run a service on that cluster periodically. >>>> Obviously it cannot run on both servers, but at the same time >>>> one has to ensure it has to be run on at least one server >>>> after certain interval. >>>> >>>> What is an elegant solution in this case? > > Use cron with a non-web-based tool? > > -chris >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTg41EAAoJEBzwKT+lPKRY7gsQAJgd8gyKsWU+mAMYKvxAaH0m d0a9pYfQgAJAxfXQWT1Rvu4fJ1ECk/nKVzC7Onx3tWEP+3ddoMA0BIi5U/eaU/Og gqhMCeW4Y5LRPtVeiviTg2qUAir9fSv8P9NBJd0EiYQ//MwFr0OF2acnPW9dmPpk nZX+Q9aVJsztoz0wqlRth0+ty0kksXaET09L+oIKnlvaPUh26qf+8ySwPYFewVRi J3A0VkknAj3u9PUjGbAQG1NpPfUMBx5DKViPfhix2tEnTuLN6I+YKUQXUJDZeqYB Dwe5NpdscZD2WfjULetGiP4TxzT9uUfuEnWnXPDSN+FoexEkbUEMQ1TDu/Ireypp E0rM5UHfR5NuzlmF/CfUHbIrwvlY6Onc8eyoCaC6IuKOHUWy/L3dtcuoSK90BW0Q WnsrZE1uICHzi5akLFkMRvimrQfTnXEKW9qkMwVTBLBCvsHl8y4eJRQa7Lh6T20a XqJgKlauC4jfIJBPowBUVfkrAL8IDSKUO0xyO9aVGhhAG+gC8foGzuKHn1aaBzAc eXUnc/NkI7GNTKOBqPcsjB3tnZD0Em8XhJrZU34B1xJU1OfZnwJUo131IKL+xoWb QME5+Nx16Dy6QoId+RnvHy4WyFDzZ86UQlgV2IkwYMG/GzGsZWPoMa2heUb0TeNa wfGoGVByfoJZlwQ6rxEo =EdQJ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org