How to create a Singleton service in an EAP 6 cluster
Issue
- How to create a singleton service for EAP 6?
- How HASingleton service can be migrated from EAP4/5 to EAP6?
- What is the equivalent of a HASingleton of EAP 4 or EAP 5?
- Is it possible to control the election of the instance where the singleton is started?
- Is there a replacement for the PreferredMasterElectionPolicy in EAP 5?
- We have a scenario (war inside ear file and spring context is loaded using
ServletContextListener
) to deploy ear file with HA singleton Cluster environment (Master node). I am not sure how to implement this use case withJBOSS 6.2.4 EAP
version.
Environment
- Red Hat JBoss Enterprise Application Server (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.