RE: Synchronization in cluster

2004-10-01 Thread Ralph Einfeldt
With this usage scenario i would recommend sticky sessions. -Original Message- From: Igor [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 8:59 PM To: [EMAIL PROTECTED] Subject: Re: Synchronization in cluster Users of my application can upload comma separeted

RE: Synchronization in cluster

2004-10-01 Thread Filip Hanik \(lists\)
That doesn't solve the problem -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 4:26 AM To: Tomcat Users List Subject: RE: Synchronization in cluster With this usage scenario i would recommend sticky sessions. -Original Message

RE: Synchronization in cluster

2004-10-01 Thread Ralph Einfeldt
) [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 1:51 PM To: Tomcat Users List Subject: RE: Synchronization in cluster That doesn't solve the problem -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 4:26 AM To: Tomcat Users List

Re: Synchronization in cluster

2004-10-01 Thread Filip Hanik - Dev
PROTECTED] Sent: Friday, October 01, 2004 7:36 AM Subject: RE: Synchronization in cluster Why not ? As I understood the static variable holds the information for the current upload. If the session is sticky the user will stay in the same jvm and see the same static variable with each refresh. I

Re: Synchronization in cluster

2004-10-01 Thread Igor
You are right :-( Igor - Original Message - From: Filip Hanik - Dev [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:31 PM Subject: Re: Synchronization in cluster cause if you have two servers, two different sessions can perform upload in two

RE : Synchronization in cluster

2004-09-30 Thread LERBSCHER Jean-Pierre
- De : Igor [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 septembre 2004 20:42 À : [EMAIL PROTECTED] Objet : Re: Synchronization in cluster Hello! if you are talking about distributed locking, then the answer is no Thank you for reply ! Our web application uses locking and Singleton pattern

Re: RE : Synchronization in cluster

2004-09-30 Thread Peter Lin
distributed locking of session data implies you need something like a distributed cache. If that is the case, maybe you should look at Coherence. distributed locking is meant to solve a specific problem, so unless you really need to synchronize distributed objects like a distributed cache, I

Re: Synchronization in cluster

2004-09-30 Thread Igor
- Original Message - From: LERBSCHER Jean-Pierre [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, September 30, 2004 10:41 AM Subject: RE : Synchronization in cluster Hi, What are your needs? Why distributed singleton or distributed locking are so important ? Perhaps you

Re: Synchronization in cluster

2004-09-30 Thread Filip Hanik - Dev
that you want to lock several tomcats in a distributed lock when accessing the DB. Filip - Original Message - From: Igor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 30, 2004 10:16 AM Subject: Re: Synchronization in cluster Hello! Thank you for answers! I will try

Re: Synchronization in cluster

2004-09-30 Thread Peter Lin
in a distributed lock when accessing the DB. Filip - Original Message - From: Igor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 30, 2004 10:16 AM Subject: Re: Synchronization in cluster Hello! Thank you for answers! I will try to use JGroups We have data

Re: Synchronization in cluster

2004-09-30 Thread Igor
Message - From: Filip Hanik - Dev [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 30, 2004 6:36 PM Subject: Re: Synchronization in cluster sounds like your system needs a little rethinking, if you have singleton access to your DB. That is why the DBs

Re: Synchronization in cluster

2004-09-30 Thread Filip Hanik - Dev
PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 30, 2004 1:58 PM Subject: Re: Synchronization in cluster Hello! Thank you for advice ! I will think about restructure my application. Users of my application can upload comma separeted files, that are imported in database. This process can

Re: Synchronization in cluster

2004-09-30 Thread Igor
Thank you :-) Igor - Original Message - From: Filip Hanik - Dev [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, September 30, 2004 10:42 PM Subject: Re: Synchronization in cluster If it happens in one JVM, everething is ok. But what will be in the case

Re: Synchronization in cluster

2004-09-29 Thread Filip Hanik - Dev
if you are talking about distributed locking, then the answer is no Filip - Original Message - From: Igor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 11:43 PM Subject: Synchronization in cluster Hello! We use synchronization on several JSP and classes:

Re: Synchronization in cluster

2004-09-29 Thread Igor
Hello! 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 balancing. Distributed locking is not possible.