Subject: RE: [jade-develop] running agents from external programs
From: Christian Loos (Christian_Loos@web.de)
Date: Mon Mar 03 2003 - 17:33:02 MET
Hi,
I think there are two possibilities to setup an agent from an ordinary java
program:
1. lunch a main container and setup the Agent within it - so you should use
rt.createMainContainer instead of rt.createAgentContainer
2. lunch a new container - so the platform (main-container) has to be
lunched before - and the container can join the platform using RMI
Regards
Christian
-----Original Message-----
From: jade-develop-bounces@sharon.cselt.it
[mailto:jade-develop-bounces@sharon.cselt.it]On Behalf Of
pca@csd.abdn.ac.uk
Sent: Monday, March 03, 2003 4:04 PM
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] running agents from external programs
hi,
i am trying to setup an agent from a java program. I think i have the right
code to do it, but i get an error.
the following is the basic error... the full one is attached, as well as the
code that generates this error.
hopefully one of you knows how to get rid of it,
Cheers,
----------------
Some problem occurred while contacting agent platform.
2003-03-03 14:50:02,875 ERROR [STDERR] jade.core.ProfileException: Can't get
a
stub of the MainContainer: Exception in RMI Registry lookup [nested message
is:
error during JRMP connection establishment; nested exception is:
java.net.SocketException: Software caused connection abort: recv failed]
_______________________________________________
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 : Mon Mar 03 2003 - 17:33:50 MET