Discussion:
[jade-develop] Creating a Fault Tolerant Platform With Jade (through Java Code in Netbeans)
Merrick Bengis
2014-05-05 14:30:03 UTC
Permalink
Hi,

I have been developing a Multi-agent project for my Masters Thesis making
use of Jade. I have been building my application in Netbeans and therefore
code everything in Java (I do not use the command line).

For my project I need to make the platform fault tolerant, and therefore
want to make use of the Replication services, however I can only find java
code and examples regarding Agent Replication and not Main Container
Replication.

Any help with this will be greatly appreciated.

Regards,
Merrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://avalon.cselt.it/pipermail/jade-develop/attachments/20140505/8de266ca/attachment.html>
Caire Giovanni
2014-05-06 08:30:50 UTC
Permalink
Hi,

Using the MainReplicationService does not involve writing application specific code, but just specifying the correct configuration options at startup.
Such options (as well as the whole Main Replication mechanism) are described in section 4 of the JADE Administrator?s Guide.
Of course, since you are starting JADE from code you have to specify the proper configuration options in your code: all command line options have an equivalent Profile parameter. The only un-intuitive correspondence is that the
-backupmain option is set in the profile as
p.setParameter(Profile.LOCAL_SERVICE_MANAGER, ?true?);

Bye,

Giovanni

Da: jade-develop-bounces at avalon.tilab.com [mailto:jade-develop-bounces at avalon.tilab.com] Per conto di Merrick Bengis
Inviato: luned? 5 maggio 2014 16:30
A: jade-develop at avalon.tilab.com
Oggetto: [jade-develop] Creating a Fault Tolerant Platform With Jade (through Java Code in Netbeans)

Hi,

I have been developing a Multi-agent project for my Masters Thesis making use of Jade. I have been building my application in Netbeans and therefore code everything in Java (I do not use the command line).

For my project I need to make the platform fault tolerant, and therefore want to make use of the Replication services, however I can only find java code and examples regarding Agent Replication and not Main Container Replication.

Any help with this will be greatly appreciated.

Regards,
Merrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://avalon.cselt.it/pipermail/jade-develop/attachments/20140506/49d74fce/attachment.html>
Merrick Bengis
2014-05-06 10:44:44 UTC
Permalink
Hi Giovanni,

Thank you for the quick and useful response! I tried to look through the
Boot.java class to determine how the command-line did it, and realised it
must be a configuration option, however i was not sure which option and if
that would be the only thing that needed to be done.

Thank you again for the help!

Regards,
Merrick


On Tue, May 6, 2014 at 10:30 AM, Caire Giovanni <
Post by Caire Giovanni
Hi,
Using the MainReplicationService does not involve writing application
specific code, but just specifying the correct configuration options at
startup.
Such options (as well as the whole Main Replication mechanism) are
described in section 4 of the JADE Administrator?s Guide.
Of course, since you are starting JADE from code you have to specify the
proper configuration options in your code: all command line options have an
equivalent Profile parameter. The only un-intuitive correspondence is that
the
-backupmain option is set in the profile as
p.setParameter(Profile.LOCAL_SERVICE_MANAGER, ?true?);
Bye,
Giovanni
jade-develop-bounces at avalon.tilab.com] *Per conto di *Merrick Bengis
*Inviato:* luned? 5 maggio 2014 16:30
*A:* jade-develop at avalon.tilab.com
*Oggetto:* [jade-develop] Creating a Fault Tolerant Platform With Jade
(through Java Code in Netbeans)
Hi,
I have been developing a Multi-agent project for my Masters Thesis making
use of Jade. I have been building my application in Netbeans and therefore
code everything in Java (I do not use the command line).
For my project I need to make the platform fault tolerant, and therefore
want to make use of the Replication services, however I can only find java
code and examples regarding Agent Replication and not Main Container
Replication.
Any help with this will be greatly appreciated.
Regards,
Merrick
Questo messaggio e i suoi allegati sono indirizzati esclusivamente
alle persone indicate. La diffusione, copia o qualsiasi altra azione
derivante dalla conoscenza di queste informazioni sono rigorosamente
vietate. Qualora abbiate ricevuto questo documento per errore siete
cortesemente pregati di darne immediata comunicazione al mittente e di
provvedere alla sua distruzione, Grazie.
*This e-mail and any attachments** is **confidential and may contain
privileged information intended for the addressee(s) only. Dissemination,
copying, printing or use by anybody else is unauthorised. If you are not
the intended recipient, please delete this message and any attachments and
advise the sender by return e-mail, Thanks.*
*[image: rispetta l'ambiente]Rispetta l'ambiente. Non stampare questa mail
se non ? necessario.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://avalon.cselt.it/pipermail/jade-develop/attachments/20140506/dcbec710/attachment.html>
Loading...