aspose file tools*
The moose likes Spring and the fly likes Making Quartz scheduler Spring-managed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Making Quartz scheduler Spring-managed" Watch "Making Quartz scheduler Spring-managed" New topic
Author

Making Quartz scheduler Spring-managed

Pranav Pal
Ranch Hand

Joined: Nov 04, 2007
Posts: 74
I am using Quartz scheduler for scheduling purposes in my project. I need to gather statistics like when, for how long, and how many times a job was run. I want to use Spring AOP for the same. For this, I am making Job classes spring-managed beans. Spring creates a Proxy class for each of the Job classes. But now when Quartz tries to execute this spring-managed Job, I am getting InstantiationException for the Proxy class created for the Job by Spring.

org.quartz.SchedulerException: Problem instantiating class '$Proxy6' [See nested exception: java.lang.InstantiationException: $Proxy6]

Can anybody please suggest a solution for this problem?


Hakuna Matata!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Making Quartz scheduler Spring-managed
 
Similar Threads
How to use same quartz tables for multiple jobs
How to get a quartz job to use a hibernate transaction session
org.springframework.batch.core.repository.JobExecutionAlreadyRunningException
Jax-ws Oneway WebService not behaving as expected
Call action class from timertask's run method