camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Quartz stateful job routes not recreated on server restart
Date Wed, 07 Sep 2011 01:59:08 GMT
Which version of Camel are you using ?
Can you post the related camel route and quartz setting to this thread? 
It will be helpful for us to trace the issue.

On Tue Sep  6 22:39:59 2011, C├ędric Pineau wrote:
> Hi to all.
>
> I use quartz stateful job with a jdbcstore.
> Everything works fine as long as the server is not shutdown : the job is
> running, its state is persisted.
>
> But on server restart, the jobs are not running anymore, no exception in
> trace, no nothing :-/
> Still I get this trace on startup, indicating that a persisted job has been
> found :
> [INFO] core.QuartzScheduler Scheduler meta-data: Quartz Scheduler (v1.8.4)
> 'BabelScheduler' with instanceId 'okinawa1315316176852'
>    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 25 threads.
>    Using job-store 'org.quartz.impl.jdbcjobstore.JobStoreTX' - which supports
> persistence. and is clustered.
>
> [INFO] impl.StdSchedulerFactory Quartz scheduler 'BabelScheduler'
> initialized from an externally provided properties instance.
> [INFO] impl.StdSchedulerFactory Quartz scheduler version: 1.8.4
> [INFO] quartz.QuartzComponent Starting Quartz scheduler: BabelScheduler
> [INFO] jdbcjobstore.JobStoreTX ClusterManager: detected 1 failed or
> restarted instances.
> [INFO] jdbcjobstore.JobStoreTX ClusterManager: Scanning for instance
> "okinawa1315315888193"'s failed in-progress jobs.
> [INFO] core.QuartzScheduler Scheduler BabelScheduler_$_okinawa1315316176852
> started.
> [INFO] jdbcjobstore.JobStoreTX Handling 1 trigger(s) that missed their
> scheduled fire-time.
>
> I also do find the loaded job on quartz scheduler, nothing to note here,
> expect that the job is not 'durable'. Is this important ?
> (www.quartz-scheduler.org seems down)
>
> Has anyone any tips about this ? Thanks in advance !
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Quartz-stateful-job-routes-not-recreated-on-server-restart-tp4774630p4774630.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang 
Weibo: willemjiang 


Mime
View raw message