Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring quartz not started with jpa hibernate  RSS feed

sila turc
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?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!