server.start();
AbstractConnector aconn = (AbstractConnector) connector;
if (isSetThreadingParameters()) {
if (aconn.getThreadPool() instanceof BoundedThreadPool) {
BoundedThreadPool pool = (BoundedThreadPool)aconn.getThreadPool();
if (getThreadingParameters().isSetMinThreads()) {
pool.setMinThreads(getThreadingParameters().getMinThreads());
}
if (getThreadingParameters().isSetMaxThreads()) {
pool.setMaxThreads(getThreadingParameters().getMaxThreads());
}
} else if (aconn.getThreadPool() instanceof QueuedThreadPool) {
QueuedThreadPool pool = (QueuedThreadPool)aconn.getThreadPool();
if (getThreadingParameters().isSetMinThreads()) {
pool.setMinThreads(getThreadingParameters().getMinThreads());
}
if (getThreadingParameters().isSetMaxThreads()) {
pool.setMaxThreads(getThreadingParameters().getMaxThreads());
}
}
}
} catch (Exception e) {
LOG.log(Level.SEVERE, "START_UP_SERVER_FAILED_MSG", new Object[] {e.getMessage()});