1 Reply Latest reply on May 30, 2011 7:13 AM by mp911de

    JBoss Clustering

    jbossadmin_007

      I am fairly new to JBoss Server. I am playing around with clustering instances on the same machine. I have the clustered environment up and running, but I was wondering if my 2 jboss instances try to bind the Object(eg:Hashtable) with same JNDI name with HA-JNDI at the same time, will I have concurrency issues? Like for instance:

       

      this code is executed parallelly by both server instances at the same time

      Hashtable Ob=new Hashtable();

      haJNDIObj.rebind("smallcache",Ob);

       

      Will I run into concurrency issues?