Hi, 

I've setup a MySQL database cluster with master master replication. I've 
deployed syncope in Tomcat 7 on 2 nodes. Each node points to the locally 
installed database. I've not yet setup Tomcat clustering but instead rely on 
the database synchronization for failover. I've configured the MySQL driver per 
suggestion on page [1].

Now I notice the following behavior: 

1. Create a role using the console on node 1
2. The role is removed from the database on both servers
3. The role shows up in the console on node 2 after a page refresh
4. Remove the role from the console on node 2
5. The role is removed from the database on both servers
6. Go to the console on node 1. The role is still there, even after a page 
reload.
7. Create a new role on node 1. The first role is removed.

I'm sure this has to do with caching. Now my question is: how can I configure 
syncope to show the correct behavior? Do I need to setup a Tomcat cluster, 
change the JDBC driver settings or maybe disable or configure caching in some 
way? I' like to setup loadbalancing and I'm not sure whether I won't run into 
problems with the setup as is.

kind regards,

J.

[1] 
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to