java - "cannot create agent , not found - Caused by "远程创建JADE容器

标签 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.
--------------------------------------------

最佳答案

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

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

这将是我第一次尝试对系统进行故障排除。无法访问系统就很困难。

希望对您有所帮助。

关于java - "cannot create agent , not found - Caused by "远程创建JADE容器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32021119/

相关文章:

java - 多对多检查一个列表是否包含另一个列表的元素

java - 简单的 Web 服务器在收到 http 请求时挂起

user-interface - 如何使用搜索选项修复 Gui 的 netbeans 中的运行时错误?

netbeans - NetBeans 8 字典位于哪里?

java - 任何其他类似于观察者模式的方式

java - Jade Java代理通信

java - 将 Unicode 字符以字符串形式粘贴到 IntelliJ 源代码编辑器中,而不转换为 Unicode 代码点数字

java - Struts 1 是否为每个 session 创建一个 Controller 对象,或者 Controller 类是单例吗?

netbeans-8 - 如何在 NetBeans 上指定 WildFly 的域路径?