3 Replies Latest reply on Jan 6, 2009 10:05 AM by Zana Jaf

    Barrier not started

    Zana Jaf Newbie

      We are using the Barrier mbean for some of our services and are trying to upgrade to JBoss 5.0.0.GA. However, the Barrier does not get started, it is created.

      The log shows:

      2009-01-05 10:05:47,651 DEBUG [BarrierController] (main:) [SubscriptionInfo { objectName='jboss.ha:service=HASingletonDeployer', handback=start, filter=javax.management.NotificationFilterSupport@110faff }, SubscriptionInfo { objectName='jboss.ha:service=HASingletonDeployer', handback=stop, filter=javax.management.NotificationFilterSupport@1ce7ceb }]
      2009-01-05 10:05:47,651 DEBUG [BarrierController] (main:) Subscribing for JMX notifications, dynamic=false
      2009-01-05 10:05:47,651 DEBUG [BarrierController] (main:) Could not subscribe to: 'jboss.ha:service=HASingletonDeployer', target or listener MBean not registered
      2009-01-05 10:05:47,651 DEBUG [BarrierController] (main:) Could not subscribe to: 'jboss.ha:service=HASingletonDeployer', target or listener MBean not registered
      2009-01-05 10:05:47,651 DEBUG [BarrierController] (main:) Created jboss.ha:service=HASingletonDeployer,type=BarrierControllerMBean
      2009-01-05 10:05:47,651 DEBUG [ServiceController] (main:) Creating service jboss.ha:service=HASingletonDeployer,type=BarrierControllerMBean
      ...
      2009-01-05 10:05:47,653 DEBUG [BarrierController] (main:) Starting jboss.ha:service=HASingletonDeployer,type=BarrierControllerMBean
      2009-01-05 10:05:47,653 DEBUG [BarrierController] (main:) Started jboss.ha:service=HASingletonDeployer,type=BarrierControllerMBean
      2009-01-05 10:05:47,654 DEBUG [ServiceController] (main:) starting service jboss.ha:service=HASingletonDeployer,type=BarrierControllerMBean
      ...
      2009-01-05 10:06:28,791 ERROR [ProfileServiceBootstrap] (main:) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      
      
      UserXS:service=myService
       -> jboss.ha:service=HASingletonDeployer,type=Barrier{Start:Create}
      
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      jboss.ha:service=HASingletonDeployer,type=Barrier -> Create


      I am using the original all/deploy/cluster/deploy-hasingleton-jboss-beans.xml file without changes.

      Is this a known issue?

      The error disappears and the Barrier gets starts when I add a dependency in the BarrierController in all/deploy/cluster/deploy-hasingleton-jboss-beans.xml
      <bean class="org.jboss.system.BarrierController" name="jboss.ha:service=HASingletonDeployer,type=BarrierController">
      ...
       <depends>jboss.ha:service=HASingletonDeployer</depends>
      ...
      


      Is this a right solution/workaround?