jmx - calling java functions to invoke health state of weblogic using Timer -


i have created function invoke health parameters of weblogic using jmx. functions called using object in main class. running application giving me output. need call functions every 5 minutes , running through timer task giving me error of unsupported protocol t3. here code..servlethealthstatemonitor class main method there.

public void init(servletconfig config) throws servletexception {      timer time = new timer();      timertask hourlytask = new timertask () {          @override         public void run() {                string[] args={};             try {                 serverhealthstatemonitor.main(args);             } catch (exception e) {                  e.printstacktrace();             }         }      };     time.schedule(hourlytask, 0, 5*60*1000); } 


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -