Kar*_*san 7 java ubuntu agents-jade
当我在ubuntu linux的终端中运行以下命令时,我也正确设置了ClassPath但是我没有成功.
java jade.Boot -gui
Run Code Online (Sandbox Code Playgroud)
我在终端窗口中遇到以下错误:
15 Jun, 2011 6:33:10 PM jade.core.Runtime beginContainer
INFO: ----------------------------------
This is JADE snapshot - revision 6357 of 2010/07/06 16:27:34
downloaded in Open Source, under LGPL restrictions,
at http://jade.tilab.com/
----------------------------------------
Retrieving CommandDispatcher for platform null
15 Jun, 2011 6:33:11 PM jade.imtp.leap.CommandDispatcher addICP
WARNING: Error adding ICP jade.imtp.leap.JICP.JICPPeer@ae506e[Error: Not possible to launch JADE on a remote host (127.0.1.1). Check the -host and -local-host options.].
15 Jun, 2011 6:33:11 PM jade.core.AgentContainerImpl joinPlatform
SEVERE: Communication failure while joining agent platform: No ICP active
jade.core.IMTPException: No ICP active
at jade.imtp.leap.LEAPIMTPManager.initialize(LEAPIMTPManager.java:138)
at jade.core.AgentContainerImpl.init(AgentContainerImpl.java:316)
at jade.core.AgentContainerImpl.joinPlatform(AgentContainerImpl.java:482)
at jade.core.Runtime.createMainContainer(Runtime.java:165)
at jade.Boot.main(Boot.java:89)
15 Jun, 2011 6:33:11 PM jade.core.Runtime$1 run
INFO: JADE is closing down now.
Run Code Online (Sandbox Code Playgroud)
帮助我从这个错误中恢复.
我对这个问题太累了.这是JADE的许多怪癖和问题之一.
您面临的问题是您需要在命令行中提供正确的主机信息.例
java jade.Boot -gui -local-host
这一切都在这里描述:http://jade.tilab.com/doc/tutorials/JADEAdmin/startJade.html
在许多情况下,您没有此问题,然后仅使用-gui选项就足够了.但是我发现当你解析为127.0.1.1时,Jade工作得不好.您可以通过设置IP地址来解决此问题,或者如果您在Linux上编辑/ etc/hosts文件以获得更永久的解决方案.
| 归档时间: |
|
| 查看次数: |
5639 次 |
| 最近记录: |