Solved

Quartz stops scheduling defined jobs

Posted on 2008-06-10
5
835 Views
Last Modified: 2012-06-27
We are developing web application and using Spring 2.0.3 and Quartz 1.6.0 frameworks. For sometime now, we did not have any problems with Quartz scheduling the jobs. But, since recently, Quartz (integrated with Spring framework) which starts one job each 10 minutes, after few days just stops to starting this job. In the logs we have saw nothing except that before stopping scheduling this job, the last started job did not ever finished (we could not find the root cause of it).

Do you have any idea why is this happening, and is it possible to set the Quartz scheduler to run the job even if this job last time started did not ever finished its execution ?
0
Comment
Question by:drazen_nikolic
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 21749622
>>the last started job did not ever finished (we could not find the root cause of it).

Would the job be in any way dependent on the previous unfinished job?
0
 
LVL 4

Author Comment

by:drazen_nikolic
ID: 21749661
Hi CEHJ,

No, the next job does not depend on the previous (unfinished) job.
0
 
LVL 16

Expert Comment

by:krakatoa
ID: 21749693
Post us :

1. The job code call, and the qualifications/dependencies for that call;
2. The job method's loop ( or routine ) terminating conditions and return type;
3. The disposal of the return type (if there was one) and the exception handler(s) for it if there are.

Remember to include any timers and scheduling parameters that you expect he code to follow.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 21749735
There's not much point in guessing what's going on, so i think the first thing you need to do is to turn up Quartz' own logging to maximum verbosity
0
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 21749738
Make sure your Job and not StatefulJob

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now