camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savas Ali Tokmen (JIRA)" <>
Subject [jira] Created: (CAMEL-3336) Quartz component has minor issues with old versions of Quartz
Date Fri, 12 Nov 2010 09:45:24 GMT
Quartz component has minor issues with old versions of Quartz

                 Key: CAMEL-3336
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-quartz
    Affects Versions: 2.5.0
            Reporter: Savas Ali Tokmen
            Priority: Minor
             Fix For: 2.6.0
         Attachments: camel-quartz-1.6-1.7-support.patch


I have run into two issues using camel-quartz with old versions of Quartz (Quartz 1.6 and

1. With Quartz 1.6, at shutdown, I get a message:

2010-11-12 02:41:22,965 DefaultShutdownStrategy.shutdownNow Error occurred while shutting
down route: Consumer[quartz://importAnnuaireAgentsTimer?cron=0+30+2+*+*+%3F]. This exception
will be ignored.
java.lang.NoSuchMethodError: org.quartz.SchedulerMetaData.isJobStoreClustered()Z
	at org.apache.camel.component.quartz.QuartzComponent.isClustered(
	at org.apache.camel.component.quartz.QuartzComponent.removeJob(
	at org.apache.camel.component.quartz.QuartzEndpoint.removeTrigger(
	at org.apache.camel.component.quartz.QuartzEndpoint.consumerStopped(
	at org.apache.camel.component.quartz.QuartzConsumer.doStop(
	at org.apache.camel.impl.ServiceSupport.stop(
	at org.apache.camel.impl.ServiceSupport.stop(
	at org.apache.camel.util.ServiceHelper.stopService(
	at org.apache.camel.impl.DefaultShutdownStrategy.shutdownNow(
	at org.apache.camel.impl.DefaultShutdownStrategy$
	at java.util.concurrent.Executors$
	at java.util.concurrent.FutureTask$Sync.innerRun(
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

2. Starting of a delayed timer fails. I think warning the user would be a better idea.

Patch is attached (it basically catches the NoSuchMethodError exceptions and acts accordingly)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message