logger.error("jobManager:" + jobManager + ", config:" + jobManager.getConfig());
HttpServer httpServer = HttpServer.create(
new InetSocketAddress(jobManager.getConfig().getHttpPort()), 0);
httpServer.createContext(
jobManager.getConfig().getHttpContext(),
new HttpHandler() {
private AtomicInteger checkCnt=new AtomicInteger(0);
private AtomicInteger configCnt=new AtomicInteger(0);
@Override
public void handle(final HttpExchange arg0)throws IOException {
try{