voila ce que g qua,d je met la ligne de commande suivante dans Run configuration :-gui jade.Boot hedjem-PC:firstAgent.AgLAg
29 avr. 2010 13:52:31 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/
----------------------------------------
29 avr. 2010 13:52:32 jade.core.BaseService init
INFO: Service jade.core.management.AgentManagement initialized
29 avr. 2010 13:52:32 jade.core.BaseService init
INFO: Service jade.core.messaging.Messaging initialized
29 avr. 2010 13:52:32 jade.core.BaseService init
INFO: Service jade.core.mobility.AgentMobility initialized
29 avr. 2010 13:52:32 jade.core.BaseService init
INFO: Service jade.core.event.Notification initialized
29 avr. 2010 13:52:32 jade.core.messaging.MessagingService clearCachedSlice
INFO: Clearing cache
29 avr. 2010 13:52:32 jade.mtp.http.HTTPServer <init>
INFO: HTTP-MTP Using XML parser com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
29 avr. 2010 13:52:32 jade.core.messaging.MessagingService boot
INFO: MTP addresses:
http://172.16.7.138:7778/acc
29 avr. 2010 13:52:32 jade.core.AgentContainerImpl joinPlatform
INFO: --------------------------------------
Agent container Main-Container@hedjem-PC is ready.
--------------------------------------------
je suis le grand manitou
29 avr. 2010 13:52:32 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/
----------------------------------------
29 avr. 2010 13:52:32 jade.core.BaseService init
INFO: Service jade.core.management.AgentManagement initialized
29 avr. 2010 13:52:32 jade.core.BaseService init
INFO: Service jade.core.messaging.Messaging initialized
29 avr. 2010 13:52:32 jade.core.BaseService init
INFO: Service jade.core.mobility.AgentMobility initialized
29 avr. 2010 13:52:32 jade.core.BaseService init
INFO: Service jade.core.event.Notification initialized
29 avr. 2010 13:52:32 jade.core.PlatformManagerImpl localAddNode
INFO: Adding node <Container-1> to the platform
29 avr. 2010 13:52:32 jade.core.messaging.MessagingService clearCachedSlice
INFO: Clearing cache
29 avr. 2010 13:52:32 jade.core.messaging.MessagingService clearCachedSlice
INFO: Clearing cache
29 avr. 2010 13:52:32 jade.mtp.http.HTTPServer <init>
INFO: HTTP-MTP Using XML parser com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser
29 avr. 2010 13:52:32 jade.mtp.http.HTTPServer <init>
ATTENTION: Port 7778 is already in used, selected another one
29 avr. 2010 13:52:32 jade.core.PlatformManagerImpl$1 nodeAdded
INFO: --- Node <Container-1> ALIVE ---
29 avr. 2010 13:52:32 jade.core.messaging.MessagingService clearCachedSlice
INFO: Clearing cache
29 avr. 2010 13:52:32 jade.core.messaging.MessagingService boot
INFO: MTP addresses:
http://172.16.7.138:49313/acc
29 avr. 2010 13:52:32 jade.core.AgentContainerImpl joinPlatform
INFO: --------------------------------------
Agent container Container-1@hedjem-PC is ready.
--------------------------------------------
jade.wrapper.StaleProxyException: Class AgentA for agent ( agent-identifier :name AgentA@hedjem-PC:1099/JADE ) not found [nested java.lang.ClassNotFoundException: AgentA]
at jade.wrapper.ContainerController.createNewAgent(ContainerController.java:124)
at firstAgent.AgLAg.setup(AgLAg.java:23)
at jade.core.Agent$ActiveLifeCycle.init(Agent.java:1490)
at jade.core.Agent.run(Agent.java:1436)
at java.lang.Thread.run(Unknown Source)
l'agent hedjem-PC va lancer les deux agents AgentA et AgentB
--------------------------------------------------------------------------
merci d'avance
Partager