Solved

Quartz stops scheduling defined jobs

Posted on 2008-06-10
5
836 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unix in java example 9 53
micro services vs rest web services 16 86
Impossible to extract MSI from new JAVA releases 2 48
jar file executable 12 42
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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 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…
The viewer will learn how to implement Singleton Design Pattern in Java.

920 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

15 Experts available now in Live!

Get 1:1 Help Now