Open iversond opened 7 years ago
@iversond I think those are temporary scripts to be used in the distribution packaging.
You should be able to extract one of the created binary distributions in ./build/distributions/
and run the batch files which get moved into the extracted ./bin
directories.
@Dispader So, yes, I was going about it wrong! I extracted distributions\IBServiceMonitor.zip
and ran bin\IBServiceMonitor.bat
and it ran through my configuration. After that, the process stopped. Is the monitor supposed to run in the background, or do you have a job to start the monitor ever x
minutes?
@iversond I think we need the mighty @carl0426 to weigh in on that one. 😃
Sorry for the delay, guys.
I did update the execution line in the IBMonitorService file (we run it on Linux) to this: exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" edu.umn.pssa.ibmonitorservice.IBMonitorSvc "$@" &
This will run it in the background.
@iversond - I neglected your second question: you do not need to run it every "X" minutes. Run it once, and let it go in the background. Your configurations will determine how often the monitor polls for issues.
After building, I am unable to start the application with the default
IBMonitorService.bat
file. I'm running the command.\script\IBMonitorService.bat
from thebuild
directory.Error: Could not find or load main class edu.umn.pssa.ibmonitorservice.IBMonitorSvc
Am I going about this wrong and there is a better way to start the app?