HASingletonDeployer ERROR upon secondary server startup?
triumphthepup Jun 25, 2009 7:39 PMWe're testing with JBoss 5.1.0, JDK 6. We've have two servers clustered, our app is deployed as an EAR (EJB & WAR). Things seem to run fine, including several aspects of clustering.
We have two EJB3s that depend on the , one using quartz and the other a simple MDB.
Example use of @Depends:
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/BoardPoller") }) @Depends("jboss.ha:service=HASingletonDeployer,type=Barrier") public class BoardPollerMDB implements MessageListener {...
However upon starting the second server, when the first is already running, we get the following ERROR on the second server:
--------------------------------------------------------- GMS: address is 192.168.71.60:46650 (cluster=beta-SessionCache) --------------------------------------------------------- 16:05:41,159 INFO [org.jboss.cache.RPCManagerImpl] Received new cluster view: [192.168.71.61:40473|25] [192.168.71.61:40473, 192.168.71.60: 46650] 16:05:41,651 INFO [org.jboss.cache.statetransfer.LegacyStateTransferIntegrator] Using version 4096 16:05:41,716 INFO [org.jboss.cache.RPCManagerImpl] Cache local address is 192.168.71.60:46650 16:05:41,716 INFO [org.jboss.cache.RPCManagerImpl] state was retrieved successfully (in 618 milliseconds) 16:05:41,725 INFO [org.jboss.cache.factories.ComponentRegistry] JBoss Cache version: JBossCache 'Cascabel' 3.1.0.GA 16:05:41,921 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployment s (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: Deployment "jboss.j2ee:ear=app-ear.ear,jar=app-ejb.jar,name=BoardPollerMDB,service=EJB3" is missing the following dependencies: Dependency "<UNKNOWN jboss.j2ee:ear=app-ear.ear,jar=app-ejb.jar,name=BoardPollerMDB,service=EJB3>" (should be in state "Described", bu t is actually in state "** UNRESOLVED Demands 'jboss.ha:service=HASingletonDeployer,type=Barrier' **") DEPLOYMENTS IN ERROR: Deployment "<UNKNOWN jboss.j2ee:ear=app-ear.ear,jar=app-ejb.jar,name=BoardPollerMDB,service=EJB3>" is in error due to the following reas on(s): ** UNRESOLVED Demands 'jboss.ha:service=HASingletonDeployer,type=Barrier' ** 16:05:42,035 INFO [org.apache.coyote.http11.Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 16:05:42,077 INFO [org.apache.coyote.ajp.AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009 16:05:42,085 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=20090 5221634)] Started in 1m:12s:414ms
Using the JMX Console I can see that the state of the HASingletonDeployer is in "Created" state. It seems that JBoss is looking for a state of "Described". Am I missing something? Is there a way to avoid this error message? As far as I can tell there is no actual error occurring.