This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring quartz not started with jpa hibernate

 
sila turc
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic