// load the configuration
config.setAttribute("baseURL", unpackedDir.toURL());
kernel.loadGBean(config, cl);
kernel.startGBean(configName);
kernel.invoke(configName, "loadGBeans", new Object[] {null}, new String[] {ManageableAttributeStore.class.getName()});
kernel.invoke(configName, "startRecursiveGBeans");
Set gb = kernel.listGBeans(JMXUtil.getObjectName("test:*"));
for (Iterator iterator = gb.iterator(); iterator.hasNext();) {
ObjectName name = (ObjectName) iterator.next();
if (State.RUNNING_INDEX != kernel.getGBeanState(name)) {
System.out.println("Not running: " + name);