“无法创建代理,未找到 - 由”远程创建JADE容器引起

时间:2015-08-15 03:08:11

标签: java netbeans-8 agents-jade

我正在尝试远程创建容器,但系统找不到类

这是在netbeans上运行的设置: Arguments

这是错误:

    Aug 15, 2015 3:53:55 AM jade.core.Runtime beginContainer
INFO: ----------------------------------
    This is JADE 4.3.3 - revision 6726 of 2014/12/09 09:33:02
    downloaded in Open Source, under LGPL restrictions,

----------------------------------------
Aug 15, 2015 3:53:55 AM jade.imtp.leap.LEAPIMTPManager initialize
INFO: Listening for intra-platform commands on address:
- jicp://169.254.222.220:1099

Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.management.AgentManagement initialized
Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.messaging.Messaging initialized
Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.resource.ResourceManagement initialized
Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.mobility.AgentMobility initialized
Aug 15, 2015 3:53:55 AM jade.core.BaseService init
INFO: Service jade.core.event.Notification initialized
Aug 15, 2015 3:53:55 AM jade.core.AgentContainerImpl startBootstrapAgents
SEVERE: Cannot create agent rma: Name-clash Agent rma@169.254.241.140:9000/JADE already present in the platform 
Aug 15, 2015 3:53:55 AM jade.core.AgentContainerImpl startBootstrapAgents

**SEVERE: Cannot create agent BuyerAmjad: Class build.classes.BuyerAgents.BuyerAgent for agent ( agent-identifier :name BuyerAmjad@169.254.241.140:9000/JADE ) not found - Caused by:  build.classes.BuyerAgents.BuyerAgent**


Aug 15, 2015 3:53:55 AM jade.core.AgentContainerImpl joinPlatform
INFO: --------------------------------------
Agent container Container-6@169.254.222.220 is ready.
--------------------------------------------

1 个答案:

答案 0 :(得分:0)

首先,您正在启动一个RMA代理(使用参数:-gui),似乎已经启动了一个。您只能激活一个RMA。

另一个问题可能是远程系统无法访问您尝试创建的BuyerAgent的原始定义。或者至少,您没有说明远程用户要加入的MAIN平台,以便进行通信。

那些将是我第一次试图对系统进行故障排除。没有系统访问权限很困难。

希望有所帮助。