Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Quartz inicialization from web.config
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Miquel Frances  
View profile  
 More options Aug 27 2008, 9:52 am
From: Miquel Frances <miquelfran...@gmail.com>
Date: Wed, 27 Aug 2008 06:52:04 -0700 (PDT)
Local: Wed, Aug 27 2008 9:52 am
Subject: Quartz inicialization from web.config
Hi,

I'm trying to get my schedule jobs from a .xml file, i added the key
into web config:

      <section name="quartz"
type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" /


...
    <quartz>
      <add key="quartz.scheduler.instanceName" value="EDIScheduler" />
      <add key="quartz.threadPool.type"
value="Quartz.Simpl.SimpleThreadPool, Quartz" />
      <add key="quartz.threadPool.threadCount" value="10" />
      <add key="quartz.threadPool.threadPriority" value="2" />
      <add key="quartz.jobStore.misfireThreshold" value="60000" />
      <add key="quartz.jobStore.type" value="Quartz.Simpl.RAMJobStore,
Quartz" />
      <add key="quartz.plugin.xml.type"
value="Quartz.Plugin.Xml.JobInitializationPlugin, Quartz" />
      <add key="quartz.plugin.xml.fileNames" value="quartz_jobs.xml" /

    </quartz>

But when i execute the initialization

            ISchedulerFactory schedFact = new StdSchedulerFactory();
            IScheduler sched = schedFact.GetScheduler();

In my schedFact i do not receive any of the values setted from my web
config file, it seems very strange, can anybody help me please, I'm
using .NET 3.5.

Thanks in advance


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marko Lahma  
View profile  
 More options Sep 1 2008, 2:48 am
From: Marko Lahma <marko.la...@gmail.com>
Date: Sun, 31 Aug 2008 23:48:47 -0700 (PDT)
Local: Mon, Sep 1 2008 2:48 am
Subject: Re: Quartz inicialization from web.config
Hi,

Seems quite right to me except that you might want to use file name "~/
quartz_jobs.xml" as it translates correctly to your web-app root.

-Marko

On Aug 27, 4:52 pm, Miquel Frances <miquelfran...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Miquel Frances  
View profile  
 More options Sep 4 2008, 7:39 am
From: Miquel Frances <miquelfran...@gmail.com>
Date: Thu, 4 Sep 2008 04:39:01 -0700 (PDT)
Local: Thurs, Sep 4 2008 7:39 am
Subject: Re: Quartz inicialization from web.config
Hi Marko,

for me seems good, but there is something i could not understand, i do
not have in anyplace my instance name
<add key="quartz.scheduler.instanceName" value="EDIScheduler" />

I comment the plugin xml (to aviod problems) but the instance name
doesn't appear, and all the scheduler is working on default instance
name...

thanks in advance

On 1 sep, 08:48, Marko Lahma <marko.la...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »