Quartz inicialization from web.config
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:
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.
You do not have the permission required to post.
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:
> 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.
You do not have the permission required to post.
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:
> 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:
> > 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- Ocultar texto de la cita -
> - Mostrar texto de la cita -
You must
Sign in before you can post messages.
You do not have the permission required to post.