aspose file tools*
The moose likes Java in General and the fly likes Spring quartz not started with jpa hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Spring quartz not started with jpa hibernate" Watch "Spring quartz not started with jpa hibernate" New topic
Author

Spring quartz not started with jpa hibernate

sila turc
Greenhorn

Joined: Jan 09, 2012
Posts: 1
I'm using spring 3.0, jpa hibernate for the persistence, and jms to send files to a queue each hour so i want to use quartz 1.8.5 with spring 3.0 to call my method that starts with checking some paramerter in DB before sending the files over jms. The problem is that the DB code is never called and in the log file i have the following message: [QuartzScheduler] INFO - Scheduler meta-data: Quartz Scheduler (v1.8.5) 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

The code without the quartz part (Spring, Jpa and jms ) works fine.

I test the same quartz config to call a simple method printHello and it works well also.

Can you help me please to figure out what is the problem?

Thanks,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring quartz not started with jpa hibernate