Subject: Hanging problem
From: James Cole (jamescole2002@hotmail.com)
Date: Tue Sep 10 2002 - 20:02:51 MET DST
Hi all,
I'm a JADE beginner (since a few days ago) and 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 : Tue Sep 10 2002 - 19:59:22 MET DST