Subject: RE: [jade-develop] Hello.. i need ur help on Agents
From: Caire Giovanni (Giovanni.Caire@TILAB.COM)
Date: Mon Dec 16 2002 - 09:14:19 MET
Hi,
From your error it seems to me that you are using the "standard" JADE platform while you have to use JADE with the LEAP add-on i.e. JadeLeap. Note in fact that you cannot mix JADE containers and JADE-LEAP containers.
Bye
Giovanni
-----Original Message-----
From: Amira El-Aasar [mailto:ammora86@hotmail.com]
Sent: venerdì 13 dicembre 2002 17.49
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] Hello.. i need ur help on Agents
hi,
i have a problem that i will be very thankful if you helped me resolve it.
i am trying to follow the tutorial of the leap to make the test agent example.
when i modified the comtainer.properties and the platform.properties and then tried to run them using the command specified in the tutorial:
http://www.ryerson.ca/~dgrimsha/jade/LEAPJavaSE.html
when running jade writing paltform.properties it worked then running it writing the container.properties command did not work and generated errors. saying :
Communication failure while contacting agent platform:Problem starting JADE time system. [nested message is : JADE]
jade.core.IMTPException" Problem starting JADE Runtime System. [nested message: JADE
...
.
.
.
then a list of location of the errors that i couldn't copy
nested exception is:
java.rmi.AlreadyBoundException : JADE
then another list of ats and error locations.
I also included the 2 files paltform.properties and container.properties .
please help as i am really stuck and i have to do it as soon as possible.
platform.properties
# Sample LEAP configuration file for a Main container.
# This indicates whether this is the Main container (true) or a peripheral container (false)
main = true
# This is the identifier of the platform. If not specified the url of the main container is used. This is ignored if main is false
platform-id = JADE-LEAP
# This indicate whether the management gui should be started on this container (default false)
gui = true
# The implementation class to be used for the acc
acc = jade.core.FullAcc
# The implementation class to be used for the MobilityManager
mobility = jade.core.RealMobilityManager
# The implementation class to be used for the ResourceManager
resource = jade.core.FullResourceManager
# The implementation class to be used for the NotificationManager
notification = jade.core.RealNotificationManager
# The implementation class to be used for the IMTPManager
imtp = jade.imtp.leap.LEAPIMTPManager
# The MTPs that must be installed at bootstrap time on this container
mtps = jade.mtp.iiop.MessageTransportProtocol
# The agents that must be launched at bootstrap time on this container
# agents = aa:examples.CyclicReceiver
agents = t1:examples.leap.testagent.TestAgent(t2)
##### LEAP-IMTP specific parameters
# The ICPs for intra-platform communication that must be activated on this container
# 1) Use these parameters to start a JICPPeer on the local host and default port
icp = jade.imtp.leap.JICP.JICPPeer(?)
# 2) Use these parameters to start a JICPPeer on the local host and a specific (e.g. 3000) port
# icp = jade.imtp.leap.JICP.JICPPeer(3000)
# 3) Use these parameters to start a JICPPeer specifying both the host and port
#icp = jade.imtp.leap.JICP.JICPPeer(3000, myHost)
# 4) Use these parameters to start a JICPPeer that gets the local host requesting it to a reachable URL
#icp = jade.imtp.leap.JICP.JICPPeer(?, ?, jicp://host1:5000)
# 5) Use these parameters to start a JICPPeer that gets the local host requesting it to a reachable URL and listens on a specified port
#icp = jade.imtp.leap.JICP.JICPPeer(3000, ?, jicp://host1:5000)
container.properties
# Sample LEAP configuration file for a peripheral container.
# This indicates whether this is the Main container (true) or a peripheral container (false)
main = false
# The URL of the Main Container. This is mandatory when main is false
mainURL = jicp://localhost/
# This indicate whether the management gui should be started on this container (default false)
gui = false
# The implementation class to be used for the acc
acc = jade.core.FullAcc
# The implementation class to be used for the MobilityManager
mobility = jade.core.RealMobilityManager
# The implementation class to be used for the ResourceManager
resource = jade.core.FullResourceManager
# The implementation class to be used for the NotificationManager
notification = jade.core.RealNotificationManager
# The implementation class to be used for the IMTPManager
imtp = jade.imtp.leap.LEAPIMTPManager
# The MTPs that must be installed at bootstrap time on this container
mtps = jade.mtp.iiop.MessageTransportProtocol
# The agents that must be launched at bootstrap time on this container
# agents = a:examples.CyclicReceiver
agents = t2:examples.leap.testagent.TestAgent(t1)
##### LEAP-IMTP specific parameters
# The ICPs for intra-platform communication that must be activated on this container
# 1) Use these parameters to start a JICPPeer on the local host and default port
# icp = jade.imtp.leap.JICP.JICPPeer(?)
# 2) Use these parameters to start a JICPPeer on the local host and a specific (e.g. 3000) port
icp = jade.imtp.leap.JICP.JICPPeer(3000)
# 3) Use these parameters to start a JICPPeer specifying both the host and port
#icp = jade.imtp.leap.JICP.JICPPeer(3000, myHost)
# 4) Use these parameters to start a JICPPeer that gets the local host requesting it to a reachable URL
#icp = jade.imtp.leap.JICP.JICPPeer(?, ?, jicp://host1:5000)
# 5) Use these parameters to start a JICPPeer that gets the local host requesting it to a reachable URL and listens on a specified port
#icp = jade.imtp.leap.JICP.JICPPeer(3000, ?, jicp://IBM:8000)
# The URL of the router used by the LEAP-IMTP if a destination address is not reachable
routerURL = jicp://IBM/
if any one has a solution or can guess what is going wrong plz tell me.
Thank you so much in advance.
Amira El Aasar
_____
Protect your PC - Click here <http://g.msn.com/8HMGEN/2024> for McAfee.com VirusScan Online _______________________________________________ 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
-----Original Message-----
From: Amira El-Aasar [mailto:ammora86@hotmail.com]
Sent: venerdì 13 dicembre 2002 17.49
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] Hello.. i need ur help on Agentshi,i have a problem that i will be very thankful if you helped me resolve it.i am trying to follow the tutorial of the leap to make the test agent example.when i modified the comtainer.properties and the platform.properties and then tried to run them using the command specified in the tutorial:when running jade writing paltform.properties it worked then running it writing the container.properties command did not work and generated errors. saying :Communication failure while contacting agent platform:Problem starting JADE time system. [nested message is : JADE]jade.core.IMTPException" Problem starting JADE Runtime System. [nested message: JADE......then a list of location of the errors that i couldn't copynested exception is:java.rmi.AlreadyBoundException : JADEthen another list of ats and error locations.I also included the 2 files paltform.properties and container.properties .please help as i am really stuck and i have to do it as soon as possible.platform.properties# Sample LEAP configuration file for a Main container.
# This indicates whether this is the Main container (true) or a peripheral container (false)
main = true
# This is the identifier of the platform. If not specified the url of the main container is used. This is ignored if main is false
platform-id = JADE-LEAP
# This indicate whether the management gui should be started on this container (default false)
gui = true
# The implementation class to be used for the acc
acc = jade.core.FullAcc
# The implementation class to be used for the MobilityManager
mobility = jade.core.RealMobilityManager
# The implementation class to be used for the ResourceManager
resource = jade.core.FullResourceManager
# The implementation class to be used for the NotificationManager
notification = jade.core.RealNotificationManager
# The implementation class to be used for the IMTPManager
imtp = jade.imtp.leap.LEAPIMTPManager
# The MTPs that must be installed at bootstrap time on this container
mtps = jade.mtp.iiop.MessageTransportProtocol
# The agents that must be launched at bootstrap time on this container# agents = aa:examples.CyclicReceiver
agents = t1:examples.leap.testagent.TestAgent(t2)##### LEAP-IMTP specific parameters
# The ICPs for intra-platform communication that must be activated on this container
# 1) Use these parameters to start a JICPPeer on the local host and default port
icp = jade.imtp.leap.JICP.JICPPeer(?)
# 2) Use these parameters to start a JICPPeer on the local host and a specific (e.g. 3000) port
# icp = jade.imtp.leap.JICP.JICPPeer(3000)
# 3) Use these parameters to start a JICPPeer specifying both the host and port
#icp = jade.imtp.leap.JICP.JICPPeer(3000, myHost)
# 4) Use these parameters to start a JICPPeer that gets the local host requesting it to a reachable URL
#icp = jade.imtp.leap.JICP.JICPPeer(?, ?, jicp://host1:5000)
# 5) Use these parameters to start a JICPPeer that gets the local host requesting it to a reachable URL and listens on a specified port
#icp = jade.imtp.leap.JICP.JICPPeer(3000, ?, jicp://host1:5000)container.properties
# Sample LEAP configuration file for a peripheral container.
# This indicates whether this is the Main container (true) or a peripheral container (false)
main = false# The URL of the Main Container. This is mandatory when main is false
mainURL = jicp://localhost/# This indicate whether the management gui should be started on this container (default false)
gui = false# The implementation class to be used for the acc
acc = jade.core.FullAcc# The implementation class to be used for the MobilityManager
mobility = jade.core.RealMobilityManager# The implementation class to be used for the ResourceManager
resource = jade.core.FullResourceManager# The implementation class to be used for the NotificationManager
notification = jade.core.RealNotificationManager# The implementation class to be used for the IMTPManager
imtp = jade.imtp.leap.LEAPIMTPManager# The MTPs that must be installed at bootstrap time on this container
mtps = jade.mtp.iiop.MessageTransportProtocol# The agents that must be launched at bootstrap time on this container
# agents = a:examples.CyclicReceiver
agents = t2:examples.leap.testagent.TestAgent(t1)##### LEAP-IMTP specific parameters
# The ICPs for intra-platform communication that must be activated on this container# 1) Use these parameters to start a JICPPeer on the local host and default port
# icp = jade.imtp.leap.JICP.JICPPeer(?)# 2) Use these parameters to start a JICPPeer on the local host and a specific (e.g. 3000) port
icp = jade.imtp.leap.JICP.JICPPeer(3000)# 3) Use these parameters to start a JICPPeer specifying both the host and port
#icp = jade.imtp.leap.JICP.JICPPeer(3000, myHost)# 4) Use these parameters to start a JICPPeer that gets the local host requesting it to a reachable URL
#icp = jade.imtp.leap.JICP.JICPPeer(?, ?, jicp://host1:5000)# 5) Use these parameters to start a JICPPeer that gets the local host requesting it to a reachable URL and listens on a specified port
#icp = jade.imtp.leap.JICP.JICPPeer(3000, ?, jicp://IBM:8000)# The URL of the router used by the LEAP-IMTP if a destination address is not reachable
routerURL = jicp://IBM/if any one has a solution or can guess what is going wrong plz tell me.Thank you so much in advance.Amira El Aasar
Protect your PC - Click here for McAfee.com VirusScan Online _______________________________________________ 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 Dec 16 2002 - 09:14:23 MET