3 Replies Latest reply on Aug 25, 2012 9:43 AM by Wolf-Dieter Fink

    HASingleton in jboss 7 standalone mode

    sudhananthan B Newbie

      In jboss 5 HASingleton service is enable by just deploying application inside deploy-hasingleton directory. By doing so only one server will have deployed application and all other servers in cluster will be in stand by mode.


      There is no more deploy-hasingleton directory in jboss 7. So how this can be implement  in jboss as 7 environment. . In some threads i noticed that it can be achieved via implementing org.jboss.msc.Service(https://community.jboss.org/thread/177199, https://community.jboss.org/message/715999).


      I followed some examples to achieve this( like https://access.redhat.com/knowledge/docs/en-US/JBoss_Enterprise_Application_Platform/6/html/Development_Guide/Implement_an_HA_Singleton.html). But no good. I can't get the clear picture.


      So my question is how master-slave hasingleton model can be achieved in jboss 7 standalone mode. There is no documents/samples yet. So Please any one share some documents or samples on how it can be achieved. It'll helps a lot.



      Thanks in advance,

      Sudhananthan B