Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Carey Brown
  • Frits Walraven

Spring quartz not started with jpa hibernate

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?

This tiny ad is guaranteed to be gluten free.
Try Free Java/.NET Libraries for Word Excel PowerPoint and PDF
    Bookmark Topic Watch Topic
  • New Topic