pool.setMaxThreads(100);
server.setThreadPool(pool);
Connector connector;
int stopPort = -1;
if (args.length > 0 && "ajp".equals(args[0])) {
connector = new Ajp13SocketConnector();
int port = Integer.parseInt(args[1]);
connector.setPort(port);
connector.setHost("127.0.0.1");
if (args.length > 2) {
stopPort = Integer.parseInt(args[2]);