SVP comment tu as pu résoudre ton problème je suis débutante avec jade
Citation:
Envoyé par
mimish
c'est Bon sa marché pour le premier tuto, le problème étais dans éclipse !
maintenant j'ai essayé le programme avec 2 agents(AgentA et AgentB) et il ne marche pas :(
j'ai ajouté la class
AgLAg.java qui ce charge de lancer les deux class:
AgentA et
AgentB
il m'affiche dans la console:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| 11 févr. 2010 13:14:14 jade.core.Runtime beginContainer
INFO: ----------------------------------
This is JADE 3.7 - revision 6154 of 2009/07/01 17:34:15
downloaded in Open Source, under LGPL restrictions,
at http://jade.tilab.com/
----------------------------------------
11 févr. 2010 13:14:16 jade.core.BaseService init
INFO: Service jade.core.management.AgentManagement initialized
11 févr. 2010 13:14:16 jade.core.BaseService init
INFO: Service jade.core.messaging.Messaging initialized
11 févr. 2010 13:14:16 jade.core.BaseService init
INFO: Service jade.core.mobility.AgentMobility initialized
11 févr. 2010 13:14:16 jade.core.BaseService init
INFO: Service jade.core.event.Notification initialized
11 févr. 2010 13:14:16 jade.core.messaging.MessagingService clearCachedSlice
INFO: Clearing cache11 févr. 2010 13:14:16 jade.mtp.http.HTTPServer <init>
INFO: HTTP-MTP Using XML parser com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
11 févr. 2010 13:14:16 jade.core.messaging.MessagingService boot
INFO: MTP addresses:
<a href="http://windows-89387e3:7778/acc" target="_blank">http://windows-89387e3:7778/acc</a>
11 févr. 2010 13:14:16 jade.core.AgentContainerImpl joinPlatform
INFO: --------------------------------------
Agent container Main-Container@windows-89387e3 is ready.
-------------------------------------------- |
PS:
quand je lance l'agentA seulement , il m'affiche:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| 11 févr. 2010 13:21:36 jade.core.Runtime beginContainer
INFO: ----------------------------------
This is JADE 3.7 - revision 6154 of 2009/07/01 17:34:15
downloaded in Open Source, under LGPL restrictions,
at http://jade.tilab.com/
----------------------------------------
11 févr. 2010 13:21:37 jade.core.BaseService init
INFO: Service jade.core.management.AgentManagement initialized
11 févr. 2010 13:21:37 jade.core.BaseService init
INFO: Service jade.core.messaging.Messaging initialized
11 févr. 2010 13:21:37 jade.core.BaseService init
INFO: Service jade.core.mobility.AgentMobility initialized
11 févr. 2010 13:21:37 jade.core.BaseService init
INFO: Service jade.core.event.Notification initialized
11 févr. 2010 13:21:37 jade.core.messaging.MessagingService clearCachedSlice
INFO: Clearing cache
11 févr. 2010 13:21:38 jade.mtp.http.HTTPServer <init>
INFO: HTTP-MTP Using XML parser com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
11 févr. 2010 13:21:38 jade.core.messaging.MessagingService boot
INFO: MTP addresses:
http://windows-89387e3:7778/acc
11 févr. 2010 13:21:38 jade.core.AgentContainerImpl joinPlatform
INFO: --------------------------------------
Agent container Main-Container@windows-89387e3 is ready.
-------------------------------------------- |
alors que normalement il m'affiche :
Code:
1 2 3 4
| ---------------------------------------
----------------agent A----------------
---------------------------------------
en attente de l agent B |
merci