| Author |
Db update at same instance using Quartz scheduler
|
Komal Renu
Ranch Hand
Joined: Jul 21, 2011
Posts: 50
|
|
Hi Everyone,
I am using Quartz scheduler for scheduling some delete activity from the DB.
In the quartz configuration i am using Database Job Store for tracking.
Now, here's the scenario and the problem
Scenario:
1. created a servlet to schedule a delete job.
2. set the time of the job execution at a fixed time of the day
3. deployed the application in two tomcat instances (point to the same DB)
4. Invoked the servlet on both the URLs.
Problem:
1. Quartz tables are updated successfully
2. the delete operation occurs only on one id and not on both
3. but in quartz table it shows both jobs trigger count as 1.
Can anyone help me find a way to make sure that both DB deletions occur successfully.
Thanks,
Komal
|
 |
 |
|
|
subject: Db update at same instance using Quartz scheduler
|
|
|