11 Replies Latest reply on Jul 27, 2011 3:54 AM by EJP

    synchronize block of code in multiple JVM instances

      I have a servlet code, synchronized the code using synchrozie block, it is working if i user single instace of web server(tomcat), all threads accessing same code are synchronized, whereas same code if i deploye lin oad balanced environement 2 application servers(each 2 jvms ) i.e total JVMs, synchronization is failing.

      how i can achieve synchronization in load balanced environemtn(websphere application server version