Subject: RE: [jade-develop] Terminating a container...
From: Caire Giovanni (Giovanni.Caire@TILAB.COM)
Date: Wed Jan 22 2003 - 10:57:23 MET
In the current official version of JADE-LEAP there is no "elegant" way to do that. In the next version (available soon) it will be possible to configure a container so that it automatically dies when empty.
From: Peter Ebben [mailto:Peter.Ebben@telin.nl]
Sent: mercoledý 22 gennaio 2003 10.25
Subject: [jade-develop] Terminating a container...
Just a quick question: Is it possible to automatically terminate an
agent container when the last agent running on that container, dies?
I am using a distributed JADE-LEAP agent platform (JADE 2.5 with LEAP
2.1) and I am launching agents from the command line (using a LEAP
properties file). I am *not* using the inProcess interface (so I
probably cannot use setCloseVM()).
The setup consists of a Main Container and several peripheral containers
(both j2se and pJava). Agents running in the peripheral containers
contact agents in the Main Container, perform those tasks that they need
to do (in close cooperation with the agents in the Main Container), and
can eventually be closed by end users (the agents in question provide a
GUI to the user).
However, when the agents in the peripheral containers die, the (empty)
containers keep on running, and users have to explicitly kill the
container as well (for example, by pressing Control-C in the console
window). Is there a simple, yet elegant, solution to automatically kill
a container when the last agent running in the container terminates?
Any answers will be appreciated.
jade-develop mailing list
UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
This archive was generated by hypermail 2a22 : Wed Jan 22 2003 - 10:57:25 MET