public static final Log log = LogFactory.getLog(JettyRunner.class);
public static void main(String... args){
log.info("Starting server");
Server server = new Server();
SocketConnector connector = new SocketConnector();
connector.setMaxIdleTime(1000 * 60 * 60);
connector.setSoLingerTime(-1);
connector.setPort(8008);
server.setConnectors(new Connector[] {connector});
WebAppContext webAppContext = new WebAppContext("src/main/webapp", "/");
webAppContext.setConfigurationClasses(new String[] {
"org.mortbay.jetty.webapp.WebInfConfiguration",