This is not what I'm looking for. Isn't there somewhere documentation that
explains what properties I have to set if I want to use a fullcrum service
standalone with an existing database. How does torque knows that the table
want the use idMethod="idBroker"

Erik, getting desperate

-----Original Message-----
From: Jason van Zyl [mailto:[EMAIL PROTECTED]]
Sent: maandag 17 december 2001 16:07
To: Turbine Users List
Subject: Re: Job_id's


On 12/17/01 9:50 AM, "Kazandjian Erik" <[EMAIL PROTECTED]>
wrote:

> Where do I find information about this simple scheduler. This is my
> Fulcrum.properties file I also added my torque.map where I specify my
> database settings
> 
> Thanks a lot Jason

Hi,

Here's a link to a document that I just checked in:

http://cvs.apache.org/viewcvs/jakarta-turbine-fulcrum/xdocs/howto/scheduler-
service.xml?rev=1.1&content-type=text/vnd.viewcvs-markup

I moved the scheduler service doc to fulcrum with an addition at the bottom
about the non-persistent/properties based scheduler. Give that a whirl,
please add improvements if it's not quite right. Hope that helps, we'll make
an html document of that and post it later on today.

 
> Erik
> 
> 
> 
> -----Original Message-----
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]]
> Sent: maandag 17 december 2001 15:48
> To: Turbine Users List
> Subject: Re: Job_id's
> 
> 
> On 12/17/01 9:40 AM, "Kazandjian Erik" <[EMAIL PROTECTED]>
> wrote:
> 
>> We created the scheduled_job_table mannualy but I don't where I we must
>> specify the idMethod. Must I put this also in my Fulcrum.properties file
?
> 
> What does your Fulcrum.properties look like. Post a link and I'll look at
> it, also have you tried using the scheduler that is controlled by simple
> properties? Might be easier to start.
> 
>> 
>> -----Original Message-----
>> From: Jason van Zyl [mailto:[EMAIL PROTECTED]]
>> Sent: maandag 17 december 2001 15:25
>> To: Turbine Users List
>> Subject: Re: Job_id's
>> 
>> 
>> On 12/17/01 9:18 AM, "Kazandjian Erik" <[EMAIL PROTECTED]>
>> wrote:
>> 
>>> How are job_id's created for scheduled jobs, because when we schedule a
>> job
>>> nothing is entered in the database and the compareTo method on jobentry
>>> crashes on a nullPointerException because job_id == null;
>> 
>> If you look at the schema template for the scheduler that is in fulcrum
> you
>> will see that the idMethod="idbroker". Do you have the tables required
for
>> the idbroker setup?
>> 
>> You could also change idMethod="native" if you want to use your preferred
>> database's native method of generating Ids. Sequences in Oracle, or
>> autoincrement in MySQL for example.
>> 
>> 
>>> Erik
>>> 
>>> --
>>> To unsubscribe, e-mail:
>> <mailto:[EMAIL PROTECTED]>
>>> For additional commands, e-mail:
>> <mailto:[EMAIL PROTECTED]>

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to