Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [smila-dev] Add my own agent

Thanks a lot Jürgen.
I follow your instruction but I don't see my agent yet.

I send you also my SMILA.application (without tons of .metadata folder).

I did what you say in http://www.eclipse.org/smila/documentation/0.9/SMILA/Development_Guidelines/How_to_integrate_new_bundle_into_build_process.html (without external links).

I added also my youtube.xml file into org.eclipse.smila.connectivity.framework as a modified copy of feeds.xml. That's the result
2011-12-16 15:46:17,218 WARN  [qtp4516101-57                                ]  impl.AgentControllerImpl                      - Error while checking for available 'AGENT' configurations in file samplejobfile.xml: unexpected element (uri:"", local:"JobFile"). Expected elements are <{}DataSourceConnectionConfig>
 2011-12-16 15:46:17,250 WARN  [qtp4516101-57                                ]  impl.AgentControllerImpl                      - Error while checking for available 'AGENT' configurations in file samplexmldump.xml: unexpected element (uri:"", local:"pages"). Expected elements are <{}DataSourceConnectionConfig>
 2011-12-16 15:46:17,468 ERROR [qtp4516101-57                                ]  schema.ConfigurationLoader                    - org.eclipse.smila.connectivity.framework.schema.exceptions.SchemaNotFoundException: JAXB Schema is not found in the bundle plug-in "eng.chansonnier.agent.youtube"
 2011-12-16 15:46:17,468 WARN  [qtp4516101-57                                ]  impl.AgentControllerImpl                      - Error while checking for available 'AGENT' configurations in file youtube.xml: JAXB Schema is not found in the bundle plug-in "eng.chansonnier.agent.youtube"


So I copied schema folder in SMILA.application/configuration as you have in zipped attachment. Error changed as you see in .log inside zip. So i decided to write this mail :-[ .

I suppose it is really useful talk to you directly about this issue, if it is possible. I'd need to review together the steps to integrate the agent.

Have you a skype account o google one?

Thanks.

Lorenzo


Il 16/12/2011 8.58, Jürgen Schumacher ha scritto:

Hi Lorenzo,

 

Your zip file does not include the SMILA.application directory, so I can only guess.

Actually, /smila/agents/ does not list the available crawler implementations, but the available data sources for agents. So you need to add a data source XML file for your agent to configuration/org.eclipse.smila.connectivity.framework and if it can be parsed successfully, it should show up in the /smila/agents/ list. If not there should be error messages in the log file that help you finding the reason (hopefully ;-)

 

Regards,

Jürgen.

 

From: smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-bounces@xxxxxxxxxxx] On Behalf Of Lorenzo Eccher
Sent: Thursday, December 15, 2011 5:51 PM
To: Smila project developer mailing list
Subject: [smila-dev] Add my own agent

 

Hallo,
I wrote my agent as defined in www.eclipse.org/smila/documentation/0.9/SMILA/Development_Guidelines/How_to_implement_an_agent.html.

When I run SMILA in my eclipse I supposed to see it into the agent list at URL http://localhost:8080/smila/agents/ (a bewitchment? yes :-) ). Evidently is not so.
There is a place surely where I need to add it to the framework.

That my scenario:
An agent retrieving some youtube pages than sending created Record to a workflow.

Please, how can I have my new agent running?

I send you:

  • a common bundle
  • the agent
  • My SMILA.application
  • the config.ini
  • the SMILA.log of the startup

 

--


Lorenzo Eccher
lorenzo.eccher@xxxxxx

Research & Development Laboratory

Engineering Ingegneria informatica s.p.a

EngiWeb Security srl
Via Solteri, 38 - 38100 Trento
Tel. +39-0461.1822110
Fax. +39-0461.1822199
www.eng.it

  Le informazioni trasmesse sono destinate esclusivamente alla persona o alla società in indirizzo e sono da intendersi confidenziali e riservate. Ogni trasmissione, inoltro, diffusione o altro uso di queste informazioni a persone o società differenti dal destinatario è proibita. Se ricevete questa comunicazione per errore, contattate il mittente e cancellate le informazioni da ogni computer.
  The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.



_______________________________________________
smila-dev mailing list
smila-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-dev

--

Lorenzo Eccher
lorenzo.eccher@xxxxxx

Research & Development Laboratory

Engineering Ingegneria informatica s.p.a

EngiWeb Security srl
Via Solteri, 38 - 38100 Trento
Tel. +39-0461.1822110
Fax. +39-0461.1822199
www.eng.it

  Le informazioni trasmesse sono destinate esclusivamente alla persona o alla società in indirizzo e sono da intendersi confidenziali e riservate. Ogni trasmissione, inoltro, diffusione o altro uso di queste informazioni a persone o società differenti dal destinatario è proibita. Se ricevete questa comunicazione per errore, contattate il mittente e cancellate le informazioni da ogni computer.
  The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Attachment: SMILA.application.zip
Description: Binary data


Back to the top