cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: rev 57151 - cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron
Date Wed, 10 Nov 2004 09:56:53 GMT
Author: giacomo
Date: Wed Nov 10 01:56:53 2004
New Revision: 57151

Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java
Log:
revert my last change

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/cron/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java
Wed Nov 10 01:56:53 2004
@@ -316,10 +316,10 @@
             // we cannot create the same scheduler again
             final String runID = new Date().toString().replace(' ', '_');
             final QuartzThreadPool pool = createThreadPool(this.config.getChild("thread-pool"));
-            final JobStore store = createJobStore(DEFAULT_QUARTZ_SCHEDULER_NAME + runID,
runID, this.config.getChild("store"));
-            DirectSchedulerFactory.getInstance().createScheduler(DEFAULT_QUARTZ_SCHEDULER_NAME
+ runID, runID, pool, store);
+            final JobStore store = createJobStore(DEFAULT_QUARTZ_SCHEDULER_NAME, runID, this.config.getChild("store"));
+            DirectSchedulerFactory.getInstance().createScheduler(DEFAULT_QUARTZ_SCHEDULER_NAME,
runID, pool, store);
             // scheduler = DirectSchedulerFactory.getInstance().getScheduler(DEFAULT_QUARTZ_SCHEDULER_NAME,
runID);
-            scheduler = DirectSchedulerFactory.getInstance().getScheduler(DEFAULT_QUARTZ_SCHEDULER_NAME
+ runID);
+            scheduler = DirectSchedulerFactory.getInstance().getScheduler(DEFAULT_QUARTZ_SCHEDULER_NAME);
         } catch (final SchedulerException se) {
             throw new ConfigurationException("cannot create a quartz scheduler", se);
         }

Mime
View raw message