EJBTimerService in deploy-HASingleton
Issue
I created a EJBTimerservice application which needs to run in a clustered environment. I setup the cluster and have deployed this application successfully under the /deploy folder which successfully gets deployed.
I am now changing the structure so that the timer service runs under the deploy-HASingleton folder as we have 4 servers hosting the application. I need this service running on one machine only, so there is only one timer on the cluster.
The timer also needs to start when deployed. How do I acheive this?
Environment
JBoss Enterprise Application Platform (EAP) 5.1.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
