[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - JBoss 4.2.0 - jboss.examples:service=HASingletonMBeanExample

ldimaggi@redhat.com do-not-reply at jboss.com
Mon Mar 26 10:38:19 EDT 2007


I'm trying to debug this failure in the 4.2.0 testsuite:

Suite:       org.jboss.test.cluster.test.HASingletonElectionPolicyTestCase(Default-UDP)
Test:        testElectionPolicy
Type:        error
Exception:   javax.management.InstanceNotFoundException
Message:     jboss.examples:service=HASingletonMBeanExample_1 is not registered. 

  In the server.log, I'm seeing this:

----------------------------------
10:03:57,801 INFO  [ServiceConfigurator] Problem configuring service jboss.examples:service=HASingletonMBeanExample-HASingletonController_1
org.jboss.deployment.DeploymentException: No Attribute found with name: HASingletonElectionPolicyMBean
----------------------------------

  This is why the tests are failing. The thing that I'm stuck with is that the HASingletonElectionPolicyMBean class in question is present in jbossha.jar:

----------------------------------
[root at dhcp83-138 META-INF]# jar -tvf /var/lib/jbossas/server/cluster-UDP-0/lib/jbossha.jar | grep HASingletonElectionPolicyMBean
  257 Mon Mar 19 19:01:36 EDT 2007 org/jboss/ha/singleton/HASingletonElectionPolicyMBean.class
----------------------------------

   But - I guess that there is an attribute with the same name (HASingletonElectionPolicyMBean) defined where? Can anyone suggest how to debug this this?


Thanks,
Len DiMaggio
ldimaggi at redhat.com



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

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



More information about the jboss-dev-forums mailing list