RE: [jade-develop] Hanging problem


Subject: RE: [jade-develop] Hanging problem
From: Bellifemine Fabio (Fabio.Bellifemine@TILAB.COM)
Date: Fri Sep 13 2002 - 16:09:00 MET DST


James, looks all correct.
I suggest you use the sniffer agent and the introspector agent in order to see if the SEARCH message is sent by your agent and received by the DF
 

-----Original Message-----
From: James Cole [mailto:jamescole2002@hotmail.com]
Sent: 11 September 2002 12:30
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] Hanging problem

Hi all,

I'm just starting to learn JADE (since a few days ago) and am new to this mailing list. I
am convinced of the worth of JADE (it is precisely the library I have been
looking for!) and intend to use it in an implementation.

I am having some problems searching the directory facilitator agent. When it
comes to searching, all agents hang and have to be killed from outside the
JADE system.
The steps I have used are:

DFAgentDescription dfd = new DFAgentDescription();
ServiceDescription sd = new ServiceDescription();
sd.setType("HotelDBAgent");
dfd.addServices(sd);

//create an array DFServiceDescription[]
DFAgentDescription[] tempDFD;

//search the DFService
tempDFD= DFService.search(this, getDefaultDF(), dfd);

It is the search on the last line that causes the hang.

I do not /think/ I am approaching this
task completely arse-backwards but I'm not wholely sure either. I'm a bit
stuck and would appreciate very much any assistance!

sincerely,

James

James, looks all correct.
I suggest you use the sniffer agent and the introspector agent in order to see if the SEARCH message is sent by your agent and received by the DF
 
-----Original Message-----
From: James Cole [mailto:jamescole2002@hotmail.com]
Sent: 11 September 2002 12:30
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] Hanging problem

Hi all,

I'm just starting to learn JADE (since a few days ago) and am new to this mailing list. I
am convinced of the worth of JADE (it is precisely the library I have been
looking for!) and intend to use it in an implementation.

I am having some problems searching the directory facilitator agent. When it
comes to searching, all agents hang and have to be killed from outside the
JADE system.
The steps I have used are:

DFAgentDescription dfd = new DFAgentDescription();
ServiceDescription sd = new ServiceDescription();
sd.setType("HotelDBAgent");
dfd.addServices(sd);

//create an array DFServiceDescription[]
DFAgentDescription[] tempDFD;

//search the DFService
tempDFD= DFService.search(this, getDefaultDF(), dfd);

It is the search on the last line that causes the hang.

I do not /think/ I am approaching this
task completely arse-backwards but I'm not wholely sure either. I'm a bit
stuck and would appreciate very much any assistance!

sincerely,

James



This archive was generated by hypermail 2a22 : Fri Sep 13 2002 - 16:09:07 MET DST