private BundleActivator configurationActivator;
public void start(BundleContext bundleContext) throws Exception {
if (bundleContext.getServiceReference(Kernel.class.getName()) == null) {
StartupMonitor monitor = new LongStartupMonitor();
monitor.systemStarting(System.currentTimeMillis());
Kernel kernel = KernelFactory.newInstance(bundleContext).createKernel("geronimo");
kernel.boot();
monitor.systemStarted(kernel);
Dictionary dictionary = null;//new Hashtable();
kernelRegistration = bundleContext.registerService(Kernel.class.getName(), kernel, dictionary);