RE: [jade-develop] Agent search from remote platform


Subject: RE: [jade-develop] Agent search from remote platform
From: Bellifemine Fabio (Fabio.Bellifemine@TILAB.COM)
Date: Thu Feb 13 2003 - 09:04:15 MET


Manuel, my guess is that it is a problem of the HTTP MTP add-on.
Unfortunatelly, that add-on has quite a number of bugs and I really invite users to use IIOP instead, even because, under most circumstances, IIOP performs much better than HTTP!
The good news is that Joan Ametller is looking after HTTP MTP and he will soon distribute a new version of it.
Fabio.

> -----Original Message-----
> From: Manuel Padilha [mailto:m.padilha@ieee.org]
> Sent: 11 February 2003 20:52
> To: Caire Giovanni
> Cc: jade-develop@sharon.cselt.it
> Subject: Re: [jade-develop] Agent search from remote platform
>
>
>
> that DFFederator looks like it would become very handy...
> however my work
> was due today and i've managed to deliver it successfully...
>
> the problem i was having was related to a misspelled platform address.
> Imagine this (using the HTTP add-on):
> Agent A from platform 1 tries to register with the DF of
> platform 2. he
> knows the correct address to send his messages but he misspells the
> platform name (say he called it platform 22 instead of 2)
> What do you think will happen? I was expecting an error, or
> the message
> being ignored, but something else happens: DF of platform 2
> takes over the
> entire CPU and locks up completely, Agent A never gets a
> response to his
> register action and also locks up.
>
> I think this could be considered a bug (in Jade? in HTTP-MTP
> add-on?), don't
> you?
>
> Bye
> --
>
> ---------------------------------
> - Manuel Padilha
> - email: m.padilha@ieee.org
> - web: http://padilha.ath.cx/
> ---------------------------------
>
>
> On Tuesday 11 February 2003 18:13, Caire Giovanni wrote:
> > Hi,
> >
> > If you look at the latest JADE snapshot you can use the
> DFFederator agent
> > available in the misc add-on. This agent allows you to
> federate DFs by
> > means of a GUI. You can look at the code to see how to do
> that from your
> > application.
> >
> > Bye
> >
> > Giovanni
> >
> > -----Original Message-----
> > From: Manuel Padilha [mailto:m.padilha@ieee.org]
> > Sent: domenica 9 febbraio 2003 23.56
> > To: jade-develop@sharon.cselt.it
> > Cc: Bellifemine Fabio
> > Subject: [jade-develop] Agent search from remote platform
> >
> > On Monday 03 February 2003 11:08, Bellifemine Fabio wrote:
> > > I think that the best way to connect 2 remote platforms is via the
> > > federation of their DFs. In such a way, you should not
> hardcode any
> > > address, rather you should search with the DF for a list
> of DFs, and
> > > then get the address of the DFs living in remote platforms.
> >
> > and how can i do that without a gui?
> > in my application i have one "server" plataform and several others
> > (running on other computers) that i which would connect to
> that one in
> > such a way that they could search each other.
> > i already have the http add-on correctly installed, but i
> have no idea on
> > how to federate 2 DF's... i tried doing this:
> > remoteDF = new AID("df@"+remoteHost+":9999/Central",true);
> > remoteDF.addAddresses("http://"+remoteHost+":9999/Central");
> > like someone had suggested before, but when i perform a search on
> > remoteDF all i get is one DF agent using up all the CPU and never
> > producing any result.
> >
> > any clues?
> >
> > thanks in advance,
>
>
> _______________________________________________
> jade-develop mailing list
> jade-develop@sharon.cselt.it
> http://sharon.cselt.it/mailman/listinfo/jade-develop
> UNSUBSCRIBE INSTRUCTIONS AT
> http://jade.cselt.it/mailing.htm#unsubscribe
>



This archive was generated by hypermail 2a22 : Thu Feb 13 2003 - 09:04:17 MET