tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LERBSCHER Jean-Pierre <>
Subject RE : Synchronization in cluster
Date Thu, 30 Sep 2004 07:41:41 GMT
What are your needs? Why distributed singleton or distributed locking are so
important ?
Perhaps you can use Database to implement locking functionality and Jgroups
library to replicate state (or distributed singleton) across members of a
group (see

-----Message d'origine-----
De : Igor [] 
Envoyé : mercredi 29 septembre 2004 20:42
À :
Objet : Re: Synchronization in cluster


> if you are talking about distributed locking, then the answer is no

Thank you for reply !

Our web application uses locking and Singleton pattern. I am making
researches - is there a possibility to move to cluster architecture or load

Distributed locking is not possible.
Distiributed Singleton (static variables) seems not to be possible too.

So web applications, that use locking or Singleton cannot use cluster
architecture or load balancing.

Maybe there is indirect way of implementing distributed locking or
distributed Singleton? For example, code that needs synchronization may be
concentrated in "main" Tomcat, and other Tomcats will call this code via
http or SOAP?

Is there any way to move web application with locking and Singleton to
cluster or load balancing?

Thank you,

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message