Hi all,
We developed pluggin in JAVA for CA APM and configured an EPA using these lines:
introscope.epagent.plugins.stateful.names=ErrorSnapshotCAAPM
introscope.epagent.stateful.ErrorSnapshotCAAPM.class=com.tdi.caapm.errorsnapshot.ErrorSnapshotCAAPM "../Configuracion.properties"
This pluggin takes around 10 minutes to complete, and then sleeps around 20 minutes to continue, totaling 30 minutes.
try {
Thread.sleep(duerme);
} catch (InterruptedException e) {
logger.error(configuracion.archivo + " -> Error en el intervalo de ejecucion: " + e.fillInStackTrace());
}
The problem is that it is interrupted when you try to sleep, and in the log you see this message:
2018-11-07 09:20:14 ERROR ErrorSnapshotCAAPM:218 - ../Configuracion.properties -> Error en el intervalo de ejecucion: java.lang.InterruptedException: sleep interrupted
We need to know if the EPA in the case of the Stateful has a time limit of interruption or in what way I can sleep the pluggin that the EPA does not finish it and restart it again.