private void startProcess(String contextPath) { System.out.println("Start DCI web process"); System.out.println("Init singleton objects"); Singleton s = Singleton.getInstance(); s.setContextPath(contextPath); APPubMethods method = new APPubMethods(); System.out.println("JBoss log directory : " + System.getProperty("jboss.server.log.dir")); System.out.println("Build all datasource"); method.setConnectionPool(); if (s.getDatabaseStatus()) { System.out.println("Load System Config"); method.loadSystemConfig(); System.out.println("Check Current Version"); new EKBVersionCheck(); // method.checkKanBanLegend();//need move to patch class System.out.println("Load Multi Language"); method.loadMultiLanguage(); System.out.println("Multi Language Loaded"); method.checkLicense(); if (!s.getLicenseStatus()) { System.out.println("license check fail"); } } else { System.out.println("set connection pool fail"); } }