handlerCollection.addHandler(context);
try {
//If the server is already running, start this context up!
//If it isn't running, then it will be started when Jetty starts
if (server.isRunning()) {
context.start();
}
} catch (Exception ex) {
throw new CougarFrameworkException("Failed to register serviceBindingDescriptor: [" + jettyContextRoot + "]", ex);
}
}