private void initAndValidate() {
        try {
            if (this.rtmsConfig != null) {
                this.validated = this.validate();
            } else {
                this.rtmsConfig = new Properties();
                this.rtmsConfig.load(new FileInputStream(this.configFilePath));
                this.validated = this.validate();
            }
        } catch (IOException e) {
            e.printStackTrace();
            this.validated = false;
        } catch (RTMSConfigException e) {
            e.printStackTrace();
            logger.error("please make sure run the script at :resources/dispatch.sh");
            this.validated = false;
        } catch (Exception e) {
            e.printStackTrace();
            this.validated = false;
        }
    }