if (environment != null)
{
Object config = environment.get(HTTPConnectorServer.WEB_CONTAINER_CONFIGURATION);
if (config instanceof String)
{
if (logger.isEnabledFor(Logger.DEBUG)) logger.debug("Configuring Jetty with configuration " + config);
getServer().configure((String)config);
// Be sure there is at least one listener on the port specified by the JMXServiceURL
HttpListener[] listeners = getServer().getListeners();
if (listeners != null)