Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 37739 invoked from network); 12 Nov 2010 12:29:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Nov 2010 12:29:16 -0000 Received: (qmail 12900 invoked by uid 500); 12 Nov 2010 12:29:47 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 12752 invoked by uid 500); 12 Nov 2010 12:29:47 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 12742 invoked by uid 500); 12 Nov 2010 12:29:46 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 12730 invoked by uid 99); 12 Nov 2010 12:29:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Nov 2010 12:29:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Nov 2010 12:29:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oACCTPCQ008687 for ; Fri, 12 Nov 2010 12:29:25 GMT Message-ID: <4707236.3761289564965364.JavaMail.jira@thor> Date: Fri, 12 Nov 2010 07:29:25 -0500 (EST) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-3336) Quartz component has minor issues with old versions of Quartz In-Reply-To: <10850988.3341289555124680.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/CAMEL-3336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63306#action_63306 ] Claus Ibsen commented on CAMEL-3336: ------------------------------------ Yeah the patch is great. Just that it should not have been categories as a bug :) > Quartz component has minor issues with old versions of Quartz > ------------------------------------------------------------- > > Key: CAMEL-3336 > URL: https://issues.apache.org/activemq/browse/CAMEL-3336 > Project: Apache Camel > Issue Type: Improvement > Components: camel-quartz > Affects Versions: 2.5.0 > Reporter: Savas Ali Tokmen > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.6.0 > > Attachments: camel-quartz-1.6-1.7-support.patch > > > Hello > I have run into two issues using camel-quartz with old versions of Quartz (Quartz 1.6 and 1.7): > 1. With Quartz 1.6, at shutdown, I get a message: > {noformat} > 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(QuartzComponent.java:278) > at org.apache.camel.component.quartz.QuartzComponent.removeJob(QuartzComponent.java:238) > at org.apache.camel.component.quartz.QuartzEndpoint.removeTrigger(QuartzEndpoint.java:84) > at org.apache.camel.component.quartz.QuartzEndpoint.consumerStopped(QuartzEndpoint.java:221) > at org.apache.camel.component.quartz.QuartzConsumer.doStop(QuartzConsumer.java:44) > at org.apache.camel.impl.ServiceSupport.stop(ServiceSupport.java:98) > at org.apache.camel.impl.ServiceSupport.stop(ServiceSupport.java:122) > at org.apache.camel.util.ServiceHelper.stopService(ServiceHelper.java:99) > at org.apache.camel.impl.DefaultShutdownStrategy.shutdownNow(DefaultShutdownStrategy.java:235) > at org.apache.camel.impl.DefaultShutdownStrategy$ShutdownTask.run(DefaultShutdownStrategy.java:386) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) > {noformat} > 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.