{
try
{
// ServerConfig has to be created and installed before boostrap as we may want to use
// system properties set up in ServerConfig
ServerConfig config = new ServerConfig();
AbstractBeanMetaData bmd = new AbstractBeanMetaData("ServerConfig", ServerConfig.class.getName());
kernel.getController().install(bmd, config);
deployBaseBootstrapUrl(url);
mainDeployer = (MainDeployer)kernel.getRegistry().getEntry("MainDeployer").getTarget();
}