JADE first contact

View: New views
1 Messages — Rating Filter:   Alert me  

JADE first contact

by Kamjel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there

I've started some fun with JADE recently and I still cant get JADE main-container ( or anth else ) started.
[ using Fedora11 , JDK 1.6 , latest JADE version 3.7 ]

$CLASSPATH is fine. It contains all mandatory jar files and "." as well.

So could you have a quick look?

[kamil@silentbob ~]$ java jade.Boot -container
Unknown host exception in getLocalHost(): please use '-host' and/or '-port' options to setup JADE host and port

Lets use -host and/or -port

[kamil@silentbob ~]$ java jade.Boot -host localhost -port 1099
2009-10-14 16:11:54 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/
----------------------------------------
2009-10-14 16:11:55 jade.core.AgentContainerImpl joinPlatform
SEVERE: Some problem occurred while joining agent platform.
jade.core.ProfileException: Can't set PlatformID
at jade.core.PlatformManagerImpl.<init>(PlatformManagerImpl.java:211)
at jade.core.ProfileImpl.createPlatformManager(ProfileImpl.java:562)
at jade.core.ProfileImpl.getPlatformManager(ProfileImpl.java:487)
at jade.core.ProfileImpl.getServiceManager(ProfileImpl.java:501)
at jade.core.AgentContainerImpl.init(AgentContainerImpl.java:342)
at jade.core.AgentContainerImpl.joinPlatform(AgentContainerImpl.java:478)
at jade.core.Runtime.createMainContainer(Runtime.java:148)
at jade.Boot.<init>(Boot.java:130)
at jade.Boot.main(Boot.java:70)
2009-10-14 16:11:55 jade.core.Runtime$1 run
INFO: JADE is closing down now.

So I decided to google it out. And I found this: http://osdir.com/ml/java.jade.devel/2006-07/msg00076.html -
They suggest to check /etc/hosts and name given by DHCP


[root@silentbob kamil]# cat /var/lib/dhclient/dhclient.leases
lease {
interface "wlan0";
fixed-address 192.168.1.94;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option dhcp-lease-time 900;
option dhcp-message-type 5;
option domain-name-servers 153.19.1.254;
option dhcp-server-identifier 1.1.1.1;
option broadcast-address 192.168.1.255;
option domain-name "bug.ug.gda.pl";
renew 3 2009/10/14 13:50:38;
rebind 3 2009/10/14 13:56:14;
}

[root@silentbob kamil]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdoma



And I have no idea whats wrong.
P.S  Windows  Vista(same machine)  works just fine with JADE.


_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm