HASingleton deployment with Barrier dependency fails on JBoss EAP 5
Issue
-
Services are deployed as HASingletons by defining a dependancy in the jboss.xml of the service:
<depends>jboss.ha:service=HASingletonDeployer,type=Barrier</depends> -
Starting up a server fails to start the service correctly most of the time with the following error:
DEPLOYMENTS MISSING DEPENDENCIES: Deployment "jboss.j2ee:ear=TestApp.ear,jar=Report-Weekly.jar,name=TestServiceManager,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:ear=TestApp.ear,jar=Report-Weekly.jar,name=TestServiceManager,service=EJB3>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jboss.ha:service=HASingletonDeployer,type=Barrier' **")
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 5.x
- Server with the error is not the master node
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.