Hi Jeffrey, Steve,

Many thanks for your detailed explanations, i now have enough informations to continue debugging the MySQL version.
Best regards,

Toback, Steve a écrit :
Hi Ludovic
The o.a.l.core.controller.CheckJvmThread.doPrimaryFunction() ends up
creating a o.a.l.core.controller.task.SendJobTask (Extends runnable) for
each Job that exists with State.NEW.  These runnable objects are thrown
in a thread pool that ultimately calls
org.apache.lokahi.core.api.job.Job.send() to create a soap message and
send it to the agent on the installed hardware.

The agent doesn't talk to the database at all :)

So it is a push and not a pull.

Steve

-----Original Message-----
From: Ludovic Maitre [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 7:37 AM
To: [email protected]
Subject: Some questions about the TMCAgent

Hi all,

I try to finish the port of Lokahi to MySQL but i'm stuck on the TMCAgent part (i believe). I cannot find where is initialized the broker

(apart in the the commented line //DerbyBroker.initialize() of TMCAgent), nor where are really loaded the jobs : in jobscheduler, there

is a line : Collection<AgentJob> jobs = AgentJob.getJobs(State.NEW); which i believe should load the jobs, but after having read AgentJob, TMCDataStore and TMCCache i still haven't found where the agent call the

broker to read the jobs available in database. Could someone give me a clue about this ? Is this part of the agent developed or should i code it ? (i guess it's not hard but i'm wondering why this hasn't been already coded -> i have surely missed something [also where is configured the database used by the agent? does it use webservices to call the controller ? where is configured the controller adress and port

? should i put a jvm.conf file on the agent installation folder ?...]).

So best regards and thanks in advance for any answer,

PS: Sorry for the trivial questions but more i discover this app and more i understand that i haven't really understand it last year.



--
Cordialement,
Ludo - http://www.ubik-products.com
---
"L'amour pour principe et l'ordre pour base; le progres pour but" (A.Comte)

Reply via email to