use of com.alibaba.jstorm.utils.DefaultUncaughtExceptionHandler in project jstorm by alibaba.
the class Supervisor method main.
/**
* start supervisor daemon
*/
public static void main(String[] args) {
Thread.setDefaultUncaughtExceptionHandler(new DefaultUncaughtExceptionHandler());
JStormServerUtils.startTaobaoJvmMonitor();
Supervisor instance = new Supervisor();
instance.run();
}
use of com.alibaba.jstorm.utils.DefaultUncaughtExceptionHandler in project jstorm by alibaba.
the class NimbusServer method main.
public static void main(String[] args) throws Exception {
Thread.setDefaultUncaughtExceptionHandler(new DefaultUncaughtExceptionHandler());
// read configuration files
@SuppressWarnings("rawtypes") Map config = Utils.readStormConfig();
JStormServerUtils.startTaobaoJvmMonitor();
NimbusServer instance = new NimbusServer();
INimbus iNimbus = new DefaultInimbus();
instance.launchServer(config, iNimbus);
}
use of com.alibaba.jstorm.utils.DefaultUncaughtExceptionHandler in project jstorm by alibaba.
the class Drpc method main.
public static void main(String[] args) throws Exception {
LOG.info("Begin to start Drpc server");
Thread.setDefaultUncaughtExceptionHandler(new DefaultUncaughtExceptionHandler());
final Drpc service = new Drpc();
service.init();
}
Aggregations