code: public static void main(final String[] args) throws Exception {
      // Redirect all std out and err messages into log4j
      StdOutErrRedirect.redirectOutAndErrToLog();
  
      logger.info("Starting Jetty Azkaban Executor...");
  
      if (System.getSecurityManager() == null) {
        Policy.setPolicy(new Policy() {
          @Override
          public boolean implies(final ProtectionDomain domain, final Permission permission) {
            return true; // allow all
          }
        });
        System.setSecurityManager(new SecurityManager());
      }
  
      final Props props = AzkabanServer.loadProps(args);
  
      if (props == null) {
        logger.error("Azkaban Properties not loaded.");
        logger.error("Exiting Azkaban Executor Server...");
        return;
      }
  
      /* Initialize Guice Injector */
      final Injector injector = Guice.createInjector(
          new AzkabanCommonModule(props),
          new AzkabanExecServerModule()
      );
      SERVICE_PROVIDER.setInjector(injector);
  
      launch(injector.getInstance(AzkabanExecutorServer.class));
    }
docs: Azkaban using Jetty