Solved

Quartz stops scheduling defined jobs

Posted on 2008-06-10
5
840 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.
Suggested Courses

738 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