[jboss-user] [Clustering/JBoss] - HASingletonDeployer ERROR upon secondary server startup?

RichardTaylor do-not-reply at jboss.com
Thu Jun 25 19:39:17 EDT 2009

We'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 (cluster=beta-SessionCache)
  | ---------------------------------------------------------
  | 16:05:41,159 INFO  [org.jboss.cache.RPCManagerImpl] Received new cluster view: [|25] [,
  | 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
  | 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
  |   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' **")
  |   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-
  | 16:05:42,077 INFO  [org.apache.coyote.ajp.AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-
  | 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.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240185#4240185

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4240185

More information about the jboss-user mailing list