1 Reply Latest reply on Jun 27, 2012 7:20 AM by Joshua Davis

    HA Singleton Service in JBoss AS 7.1.1

    Dana Sabiescu Newbie



      I am trying to do the migration of an application from JBoss 6.1 to JBoss 7.1.1.

      The problem that I have is an EJB module that we used to deploy as a hasingleton. I have found that this feature is no longer supported in the same way that was in JBoss 6.


      I found thing issue https://issues.jboss.org/browse/AS7-2958 and this test suite https://github.com/jbossas/jboss-as/tree/master/testsuite/integration/clust/src/test/java/org/jboss/as/test/clustering/cluster/singleton, that shows how to use Service<Environment> for implementing a singleton service in a clustered environment.


      My question is how to resolve this problem for services based on EJBs, and without a web context in the module that I want to deploy as a singleton.