[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[virgo-dev] Check for unregistered mBeans

Hi,

I added a check for unregistered mBeans to the test runner. As a result some of the tests may produce output similar to the one below:

The mBeans
[org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=com.springsource.org.apache.commons.httpclient,version=3.1.0,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.kernel.model,version=3.0.0.BUILD-20110504071823,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.kernel.core,version=3.0.0.BUILD-20110504071823,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.springframework.osgi.core,version=1.2.1,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.medic.core,version=3.0.0.M04,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.equinox.cm,version=1.0.300.v20101204,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.osgi,version=3.7.0.v20110224,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.kernel.kerneldmfragment,version=3.0.0.BUILD-20110504071823,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.kernel.agent.dm,version=3.0.0.BUILD-20110504071823,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=RegionDigraph,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.springframework.osgi.extender,version=1.2.1,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=com.springsource.slf4j.org.apache.commons.logging,version=1.6.1,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.equinox.util,version=1.0.200.v20100503,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.springframework.asm,version=3.0.0.RELEASE,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=Region,name=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=com.springsource.org.aopalliance,version=1.0.0,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.util.osgi,version=3.0.0.M04,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.springframework.context,version=3.0.0.RELEASE,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=com.springsource.org.apache.commons.codec,version=1.3.0,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.springframework.osgi.io,version=1.2.1,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.util.io,version=3.0.0.M04,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.kernel.osgi,version=3.0.0.BUILD-20110504071823,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.osgi.services,version=3.3.0.v20110110,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.kernel.deployer,version=3.0.0.BUILD-20110504071823,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=com.springsource.org.aspectj.weaver,version=1.6.6.RELEASE,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.util.jmx,version=3.0.0.M04,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.kernel.artifact,version=3.0.0.BUILD-20110504071823,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.util.common,version=3.0.0.M04,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.springframework.core,version=3.0.0.RELEASE,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=Region,name=org.eclipse.virgo.region.user,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.springframework.beans,version=3.0.0.RELEASE,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.equinox.ds,version=1.3.0.v20110124-0830,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=com.springsource.slf4j.api,version=1.6.1,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.equinox.event,version=1.2.100.v20110110,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.util.math,version=3.0.0.M04,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.springframework._expression_,version=3.0.0.RELEASE,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.repository,version=3.0.0.M04,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.springframework.aop,version=3.0.0.RELEASE,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.kernel.services,version=3.0.0.BUILD-20110504071823,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.medic,version=3.0.0.M04,region=org.eclipse.virgo.region.kernel,
org.eclipse.virgo.kernel:type=KernelModel,artifact-type=bundle,name=org.eclipse.virgo.util.parser.manifest,version=3.0.0.M04,region=org.eclipse.virgo.region.kernel]
were not unregistered.
This usually means that some mBeans are not unregistered after the OSGi framework has stopped and this should be treated as bug. I already created 344660 and 343131 for the mBeans listed in this mail.

My intention is to make the tests fail when there are Virgo mBeans left in the VM. This however has to be postponed until all known problems are fixed and we are using region digraph bundle from Equinox (Bug 343364).

Regards,
Hristo Iliev