Say I have a job that accesses some remote location. Say it gets stuck and never returns. I need this job to be stateful. So if it never returns from the remote call all system is dead.
What is the solution for this in clustered environment (I have too machines connected to the same database doing the same thing) so machine #1 can actually start the call and then drop dead so I need the other machine to be able to deal with this.
Hi,
Quartz 1.8.3 (no I cant upgrade) will trigger that is scheduled to be processed ASAP guaranteed to be processed before the one that was scheduled later one (same type and also ASAP)?
Hello,
Quartz 1.8.3 (no I cant upgrade).
How to get all running jobs in all clusters? Also what is the interface to access the QRTZ_TRIGGERS table to get all jobs that are blocked and reverse them?
The job (ABC.XYZ) referenced by the trigger does not exist.org.quartz.JobPersistenceException: Couldn't store trigger 'MT_acj55lrg5e8gg' for 'XYZ' job:The job (ABC.XYZ) referenced by the trigger does not exist. [See nested exception: org.quartz.JobPersistenceException: The job (ABC.XYZ) referenced by the trigger does not exist.]
it is not quartz db. It is my own stuff. And I isolated it into separate qrtz job. So when it runs too long I want to kill it form another job that just runs and monitors triggers that have ran for long.....
I know what you want to hear. But it wont help. My problems is code of the job I am trying to kill gets stuck in the jdbc call and never comes back... So no checks of whether the thread is interrupted are possible.
By the way. Even manual deletion of the job does not work. It just does not want to get deleted from the db. I am doing it with prepared statement
Yes I implemented the interrupt() method and all my job classes implement interrubtablejob interface. The question is what to do inside of that method.
Thank you very much! But what is node and what do you mean by went down? The jvm was not restarted.
If node for some reason could not communicate with the db once does it try again? How this works?