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

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -