Subject: [jade-develop] Access scope of fields in agents
From: David (amdawong@starhub.net.sg)
Date: Sun Feb 23 2003 - 09:52:31 MET
Dear jaders,
I am a newbie at JADE. I have a question pertaining to the access scope
of
Fields in agents.
Suppose I have a field in an agent class as follows
Vector someVector;
Will the behaviours of this agent be able to access this vector ?
If yes, how do they access it ? Is it via the super keyword ?
Also, if the behaviour of this agent can access this vector, what access
do they have ? Do they have private, protect, default of public access ?
Regards
David
_______________________________________________
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
------_=_NextPart_001_01C2DBF7.C697D967
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Received: from EXC2K02B.cselt.it ([163.162.21.237]) by EXC2K05A.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Sun, 23 Feb 2003 23:17:53 +0100
X-Received: from dns1.tilab.com ([163.162.42.4]) by EXC2K02B.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Sun, 23 Feb 2003 23:17:52 +0100
X-Received: from DIRECTORY-DAEMON.dns1.cselt.it by dns1.cselt.it (PMDF V6.0-025 #38895) id <0HAS00K018OEPS@dns1.cselt.it>; Sun, 23 Feb 2003 23:19:26 +0100 (MET)
X-Received: from sharon.cselt.it (sharon.cselt.it [163.162.30.10]) by dns1.cselt.it (PMDF V6.0-025 #38895) with ESMTP id <0HAS00K198ODOP@dns1.cselt.it>; Sun, 23 Feb 2003 23:19:25 +0100 (MET)
X-Received: from sharon.cselt.it (localhost [127.0.0.1]) by sharon.cselt.it (Postfix) with ESMTP id 66F1B6B90F; Sun, 23 Feb 2003 23:17:17 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Received: from omta01.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by sharon.cselt.it (Postfix) with ESMTP id AE4AC6B90C for <jade-develop@sharon.cselt.it>; Sun, 23 Feb 2003 23:17:13 +0100 (MET)
X-Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta01.mta.everyone.net (Postfix) with ESMTP id 1AD3C1C39D1 for <jade-develop@sharon.cselt.it>; Sun, 23 Feb 2003 14:20:13 -0800 (PST)
X-Received: by sitemail.everyone.net (Postfix, from userid 99) id 033CD404A; Sun, 23 Feb 2003 14:20:12 -0800 (PST)
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
Subject: [jade-develop] Can not start JADE
Date: Sun, 23 Feb 2003 23:20:12 +0100
Message-ID: <20030223222012.033CD404A@sitemail.everyone.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [jade-develop] Can not start JADE
Thread-Index: AcLbiWiaMwOezF4wQoObpcTEBjJpzg=
List-Help: <mailto:jade-develop-request@sharon.cselt.it?subject=help>
List-Subscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=subscribe>
List-Unsubscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=unsubscribe>
From: "Lin" <whatsupman2000@computermail.net>
To: <jade-develop@sharon.cselt.it>
Reply-To: <whatsupman2000@computermail.net>
Hi,
I am very new to JADE, I had a problem with running JADE. I have installed everything required, and I actually did run it on my computer couple of days ago (the GUI came out). But I cannot run it now, the messenge I got on the DOS is:
D:\jade>java -classpath lib\jade.jar;lib\jadeTools.jar;lib\Base64.jar;lib\iiop.j
ar jade.Boot -gui
This is JADE 2.61 - 2002/09/24 13:30:17
downloaded in Open Source, under LGPL restrictions,
at http://jade.cselt.it/
Communication failure while contacting agent platform: Communication failure whi
le starting JADE Runtime System. Check if the RMIRegistry CLASSPATH includes the
RMI Stub classes of JADE. [nested message is: Port already in use: 1099; nested
exception is:
java.net.BindException: Address already in use: JVM_Bind]
jade.core.IMTPException: Communication failure while starting JADE Runtime Syste
m. Check if the RMIRegistry CLASSPATH includes the RMI Stub classes of JADE. [ne
sted message is: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind]
at jade.imtp.rmi.RMIIMTPManager.remotize(Unknown Source)
at jade.core.MainContainerImpl.register(Unknown Source)
at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
at jade.core.Runtime.createMainContainer(Unknown Source)
at jade.Boot.<init>(Unknown Source)
at jade.Boot.main(Unknown Source)
Nested Exception is:
java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
at jade.imtp.rmi.RMIIMTPManager.getRmiRegistry(Unknown Source)
at jade.imtp.rmi.RMIIMTPManager.remotize(Unknown Source)
at jade.core.MainContainerImpl.register(Unknown Source)
at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
at jade.core.Runtime.createMainContainer(Unknown Source)
at jade.Boot.<init>(Unknown Source)
at jade.Boot.main(Unknown Source)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(Unk
nown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(Unk
nown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown Source)
... 15 more
Exiting now!
Could anyone give me help, thanks!
Lin
_______________________________________________
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
------_=_NextPart_001_01C2DBF7.C697D967
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Received: from dns1.tilab.com ([163.162.42.4]) by EXC2K05A.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Sun, 23 Feb 2003 23:35:59 +0100
X-Received: from DIRECTORY-DAEMON.dns1.cselt.it by dns1.cselt.it (PMDF V6.0-025 #38895) id <0HAS00K019ILSU@dns1.cselt.it>; Sun, 23 Feb 2003 23:37:33 +0100 (MET)
X-Received: from sharon.cselt.it (sharon.cselt.it [163.162.30.10]) by dns1.cselt.it (PMDF V6.0-025 #38895) with ESMTP id <0HAS00K599ILOP@dns1.cselt.it>; Sun, 23 Feb 2003 23:37:33 +0100 (MET)
X-Received: from sharon.cselt.it (localhost [127.0.0.1]) by sharon.cselt.it (Postfix) with ESMTP id B93D76B916; Sun, 23 Feb 2003 23:35:24 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by sharon.cselt.it (Postfix) with ESMTP id 7EF7D6B914 for <jade-develop@sharon.cselt.it>; Sun, 23 Feb 2003 23:35:20 +0100 (MET)
X-Received: from banbooca ([67.68.248.100]) by tomts9-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with SMTP id <20030223223818.QIHR1647.tomts9-srv.bellnexxia.net@banbooca> for <jade-develop@sharon.cselt.it>; Sun, 23 Feb 2003 17:38:18 -0500
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Subject: Re: [jade-develop] Can not start JADE
Date: Sun, 23 Feb 2003 23:37:09 +0100
Message-ID: <001f01c2db8c$1a226000$c9d0fea9@banbooca>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [jade-develop] Can not start JADE
Thread-Index: AcLbi/CriNcUnNM4QP2Knzrq3Vruag=
List-Help: <mailto:jade-develop-request@sharon.cselt.it?subject=help>
List-Subscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=subscribe>
List-Unsubscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=unsubscribe>
From: "LIU YONG JIE" <lyj@sympatico.ca>
To: <jade-develop@sharon.cselt.it>
RMI port 1099 has already been taken .... u may use the -port option ....
good luck,
----- Original Message -----
From: "Lin" <whatsupman2000@computermail.net>
To: <jade-develop@sharon.cselt.it>
Sent: Sunday, February 23, 2003 5:20 PM
Subject: [jade-develop] Can not start JADE
> Hi,
>
> I am very new to JADE, I had a problem with running JADE. I have installed
everything required, and I actually did run it on my computer couple of days
ago (the GUI came out). But I cannot run it now, the messenge I got on the
DOS is:
>
> D:\jade>java -classpath
lib\jade.jar;lib\jadeTools.jar;lib\Base64.jar;lib\iiop.j
> ar jade.Boot -gui
> This is JADE 2.61 - 2002/09/24 13:30:17
> downloaded in Open Source, under LGPL restrictions,
> at http://jade.cselt.it/
>
> Communication failure while contacting agent platform: Communication
failure whi
> le starting JADE Runtime System. Check if the RMIRegistry CLASSPATH
includes the
> RMI Stub classes of JADE. [nested message is: Port already in use: 1099;
nested
> exception is:
> java.net.BindException: Address already in use: JVM_Bind]
> jade.core.IMTPException: Communication failure while starting JADE Runtime
Syste
> m. Check if the RMIRegistry CLASSPATH includes the RMI Stub classes of
JADE. [ne
> sted message is: Port already in use: 1099; nested exception is:
> java.net.BindException: Address already in use: JVM_Bind]
> at jade.imtp.rmi.RMIIMTPManager.remotize(Unknown Source)
> at jade.core.MainContainerImpl.register(Unknown Source)
> at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
> at jade.core.Runtime.createMainContainer(Unknown Source)
> at jade.Boot.<init>(Unknown Source)
> at jade.Boot.main(Unknown Source)
> Nested Exception is:
> java.rmi.server.ExportException: Port already in use: 1099; nested
exception is:
>
> java.net.BindException: Address already in use: JVM_Bind
> at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
> at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
> at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
> at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
> at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
> at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
> at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
> at jade.imtp.rmi.RMIIMTPManager.getRmiRegistry(Unknown Source)
> at jade.imtp.rmi.RMIIMTPManager.remotize(Unknown Source)
> at jade.core.MainContainerImpl.register(Unknown Source)
> at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
> at jade.core.Runtime.createMainContainer(Unknown Source)
> at jade.Boot.<init>(Unknown Source)
> at jade.Boot.main(Unknown Source)
> Caused by: java.net.BindException: Address already in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(Unknown Source)
> at java.net.ServerSocket.bind(Unknown Source)
> at java.net.ServerSocket.<init>(Unknown Source)
> at java.net.ServerSocket.<init>(Unknown Source)
> at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(Unk
> nown Source)
> at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(Unk
> nown Source)
> at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown
Source)
> ... 15 more
> Exiting now!
>
>
> Could anyone give me help, thanks!
>
> Lin
> _______________________________________________
> 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
>
_______________________________________________
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
------_=_NextPart_001_01C2DBF7.C697D967
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Received: from EXC2K01A.cselt.it ([163.162.4.34]) by EXC2K05A.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Mon, 24 Feb 2003 08:47:39 +0100
X-Received: from dns1.tilab.com ([163.162.42.4]) by EXC2K01A.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Mon, 24 Feb 2003 08:47:38 +0100
X-Received: from DIRECTORY-DAEMON.dns1.cselt.it by dns1.cselt.it (PMDF V6.0-025 #38895) id <0HAS00C01Z20HT@dns1.cselt.it>; Mon, 24 Feb 2003 08:49:12 +0100 (MET)
X-Received: from sharon.cselt.it (sharon.cselt.it [163.162.30.10]) by dns1.cselt.it (PMDF V6.0-025 #38895) with ESMTP id <0HAS00C7KZ1ZCO@dns1.cselt.it>; Mon, 24 Feb 2003 08:49:12 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Received: from sharon.cselt.it (localhost [127.0.0.1]) by sharon.cselt.it (Postfix) with ESMTP id 11B446B91E; Mon, 24 Feb 2003 08:46:59 +0100 (MET)
X-Received: from dns1.tilab.com (dns1.cselt.it [163.162.42.4]) by sharon.cselt.it (Postfix) with ESMTP id 2C5C06B91C for <jade-develop@sharon.cselt.it>; Mon, 24 Feb 2003 08:46:55 +0100 (MET)
X-Received: from EXC2K05A.cselt.it (clu2k05a.cselt.it [163.162.36.101]) by dns1.cselt.it (PMDF V6.0-025 #38895)jade-develop@sharon.cselt.it; Mon, 24 Feb 2003 08:48:28 +0100 (MET)
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Subject: RE: [jade-develop] Access scope of fields in agents
Date: Mon, 24 Feb 2003 08:46:54 +0100
Message-ID: <F6C3888F39ABE74BB423DFA19C07DEBA26C765@EXC2K05A.cselt.it>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [jade-develop] Access scope of fields in agents
Thread-Index: AcLbGNt20GQFxPUNTRuDSi7XFzUCOQAv5XgA
List-Help: <mailto:jade-develop-request@sharon.cselt.it?subject=help>
List-Subscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=subscribe>
List-Unsubscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=unsubscribe>
From: "Caire Giovanni" <caire@XRR3.CSELT.IT>
To: "David" <amdawong@starhub.net.sg>,
<jade-develop@sharon.cselt.it>
Hi,
This is definitely a Java issue. JADE agents and behaviour are all Java classes. If you define a field in class A do objects of class B and C have access to this field? Of course it depends on the modifiers for that field, on whether B and C are inner classes of A.....
Bye
Giovanni
-----Original Message-----
From: David [mailto:amdawong@starhub.net.sg]
Sent: domenica 23 febbraio 2003 9.53
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] Access scope of fields in agents
Dear jaders,
I am a newbie at JADE. I have a question pertaining to the access scope
of
Fields in agents.
Suppose I have a field in an agent class as follows
Vector someVector;
Will the behaviours of this agent be able to access this vector ?
If yes, how do they access it ? Is it via the super keyword ?
Also, if the behaviour of this agent can access this vector, what access
do they have ? Do they have private, protect, default of public access ?
Regards
David
_______________________________________________
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
_______________________________________________
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
------_=_NextPart_001_01C2DBF7.C697D967--
ReSent-Date: Mon, 24 Feb 2003 12:38:54 +0100 (MET)
ReSent-From: Fabio Bellifemine <bellif@sharon.cselt.it>
ReSent-To: jade-develop-hypermail@sharon
ReSent-Subject: [jade-develop] Access scope of fields in agents
ReSent-Message-ID: <Pine.SO4.4.05.10302241238540.20050@sharon.cselt.it>
Dear jaders,
I am a newbie at JADE. I have a question pertaining to the access scope
of
Fields in agents.
Suppose I have a field in an agent class as follows
Vector someVector;
Will the behaviours of this agent be able to access this vector ?
If yes, how do they access it ? Is it via the super keyword ?
Also, if the behaviour of this agent can access this vector, what access
do they have ? Do they have private, protect, default of public access ?
Regards
David
_______________________________________________
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
------_=_NextPart_001_01C2DBF7.C697D967
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Received: from EXC2K02B.cselt.it ([163.162.21.237]) by EXC2K05A.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Sun, 23 Feb 2003 23:17:53 +0100
Received: from dns1.tilab.com ([163.162.42.4]) by EXC2K02B.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Sun, 23 Feb 2003 23:17:52 +0100
Received: from DIRECTORY-DAEMON.dns1.cselt.it by dns1.cselt.it (PMDF V6.0-025 #38895) id <0HAS00K018OEPS@dns1.cselt.it>; Sun, 23 Feb 2003 23:19:26 +0100 (MET)
Received: from sharon.cselt.it (sharon.cselt.it [163.162.30.10]) by dns1.cselt.it (PMDF V6.0-025 #38895) with ESMTP id <0HAS00K198ODOP@dns1.cselt.it>; Sun, 23 Feb 2003 23:19:25 +0100 (MET)
Received: from sharon.cselt.it (localhost [127.0.0.1]) by sharon.cselt.it (Postfix) with ESMTP id 66F1B6B90F; Sun, 23 Feb 2003 23:17:17 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Received: from omta01.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by sharon.cselt.it (Postfix) with ESMTP id AE4AC6B90C for <jade-develop@sharon.cselt.it>; Sun, 23 Feb 2003 23:17:13 +0100 (MET)
Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta01.mta.everyone.net (Postfix) with ESMTP id 1AD3C1C39D1 for <jade-develop@sharon.cselt.it>; Sun, 23 Feb 2003 14:20:13 -0800 (PST)
Received: by sitemail.everyone.net (Postfix, from userid 99) id 033CD404A; Sun, 23 Feb 2003 14:20:12 -0800 (PST)
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
Subject: [jade-develop] Can not start JADE
Date: Sun, 23 Feb 2003 23:20:12 +0100
Message-ID: <20030223222012.033CD404A@sitemail.everyone.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [jade-develop] Can not start JADE
Thread-Index: AcLbiWiaMwOezF4wQoObpcTEBjJpzg=
List-Help: <mailto:jade-develop-request@sharon.cselt.it?subject=help>
List-Subscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=subscribe>
List-Unsubscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=unsubscribe>
From: "Lin" <whatsupman2000@computermail.net>
To: <jade-develop@sharon.cselt.it>
Reply-To: <whatsupman2000@computermail.net>
Hi,
I am very new to JADE, I had a problem with running JADE. I have installed everything required, and I actually did run it on my computer couple of days ago (the GUI came out). But I cannot run it now, the messenge I got on the DOS is:
D:\jade>java -classpath lib\jade.jar;lib\jadeTools.jar;lib\Base64.jar;lib\iiop.j
ar jade.Boot -gui
This is JADE 2.61 - 2002/09/24 13:30:17
downloaded in Open Source, under LGPL restrictions,
at http://jade.cselt.it/
Communication failure while contacting agent platform: Communication failure whi
le starting JADE Runtime System. Check if the RMIRegistry CLASSPATH includes the
RMI Stub classes of JADE. [nested message is: Port already in use: 1099; nested
exception is:
java.net.BindException: Address already in use: JVM_Bind]
jade.core.IMTPException: Communication failure while starting JADE Runtime Syste
m. Check if the RMIRegistry CLASSPATH includes the RMI Stub classes of JADE. [ne
sted message is: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind]
at jade.imtp.rmi.RMIIMTPManager.remotize(Unknown Source)
at jade.core.MainContainerImpl.register(Unknown Source)
at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
at jade.core.Runtime.createMainContainer(Unknown Source)
at jade.Boot.<init>(Unknown Source)
at jade.Boot.main(Unknown Source)
Nested Exception is:
java.rmi.server.ExportException: Port already in use: 1099; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
at jade.imtp.rmi.RMIIMTPManager.getRmiRegistry(Unknown Source)
at jade.imtp.rmi.RMIIMTPManager.remotize(Unknown Source)
at jade.core.MainContainerImpl.register(Unknown Source)
at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
at jade.core.Runtime.createMainContainer(Unknown Source)
at jade.Boot.<init>(Unknown Source)
at jade.Boot.main(Unknown Source)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(Unk
nown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(Unk
nown Source)
at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown Source)
... 15 more
Exiting now!
Could anyone give me help, thanks!
Lin
_______________________________________________
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
------_=_NextPart_001_01C2DBF7.C697D967
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Received: from dns1.tilab.com ([163.162.42.4]) by EXC2K05A.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Sun, 23 Feb 2003 23:35:59 +0100
Received: from DIRECTORY-DAEMON.dns1.cselt.it by dns1.cselt.it (PMDF V6.0-025 #38895) id <0HAS00K019ILSU@dns1.cselt.it>; Sun, 23 Feb 2003 23:37:33 +0100 (MET)
Received: from sharon.cselt.it (sharon.cselt.it [163.162.30.10]) by dns1.cselt.it (PMDF V6.0-025 #38895) with ESMTP id <0HAS00K599ILOP@dns1.cselt.it>; Sun, 23 Feb 2003 23:37:33 +0100 (MET)
Received: from sharon.cselt.it (localhost [127.0.0.1]) by sharon.cselt.it (Postfix) with ESMTP id B93D76B916; Sun, 23 Feb 2003 23:35:24 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by sharon.cselt.it (Postfix) with ESMTP id 7EF7D6B914 for <jade-develop@sharon.cselt.it>; Sun, 23 Feb 2003 23:35:20 +0100 (MET)
Received: from banbooca ([67.68.248.100]) by tomts9-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with SMTP id <20030223223818.QIHR1647.tomts9-srv.bellnexxia.net@banbooca> for <jade-develop@sharon.cselt.it>; Sun, 23 Feb 2003 17:38:18 -0500
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Subject: Re: [jade-develop] Can not start JADE
Date: Sun, 23 Feb 2003 23:37:09 +0100
Message-ID: <001f01c2db8c$1a226000$c9d0fea9@banbooca>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [jade-develop] Can not start JADE
Thread-Index: AcLbi/CriNcUnNM4QP2Knzrq3Vruag=
List-Help: <mailto:jade-develop-request@sharon.cselt.it?subject=help>
List-Subscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=subscribe>
List-Unsubscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=unsubscribe>
From: "LIU YONG JIE" <lyj@sympatico.ca>
To: <jade-develop@sharon.cselt.it>
RMI port 1099 has already been taken .... u may use the -port option ....
good luck,
----- Original Message -----
From: "Lin" <whatsupman2000@computermail.net>
To: <jade-develop@sharon.cselt.it>
Sent: Sunday, February 23, 2003 5:20 PM
Subject: [jade-develop] Can not start JADE
> Hi,
>
> I am very new to JADE, I had a problem with running JADE. I have installed
everything required, and I actually did run it on my computer couple of days
ago (the GUI came out). But I cannot run it now, the messenge I got on the
DOS is:
>
> D:\jade>java -classpath
lib\jade.jar;lib\jadeTools.jar;lib\Base64.jar;lib\iiop.j
> ar jade.Boot -gui
> This is JADE 2.61 - 2002/09/24 13:30:17
> downloaded in Open Source, under LGPL restrictions,
> at http://jade.cselt.it/
>
> Communication failure while contacting agent platform: Communication
failure whi
> le starting JADE Runtime System. Check if the RMIRegistry CLASSPATH
includes the
> RMI Stub classes of JADE. [nested message is: Port already in use: 1099;
nested
> exception is:
> java.net.BindException: Address already in use: JVM_Bind]
> jade.core.IMTPException: Communication failure while starting JADE Runtime
Syste
> m. Check if the RMIRegistry CLASSPATH includes the RMI Stub classes of
JADE. [ne
> sted message is: Port already in use: 1099; nested exception is:
> java.net.BindException: Address already in use: JVM_Bind]
> at jade.imtp.rmi.RMIIMTPManager.remotize(Unknown Source)
> at jade.core.MainContainerImpl.register(Unknown Source)
> at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
> at jade.core.Runtime.createMainContainer(Unknown Source)
> at jade.Boot.<init>(Unknown Source)
> at jade.Boot.main(Unknown Source)
> Nested Exception is:
> java.rmi.server.ExportException: Port already in use: 1099; nested
exception is:
>
> java.net.BindException: Address already in use: JVM_Bind
> at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
> at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
> at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
> at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
> at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
> at sun.rmi.registry.RegistryImpl.setup(Unknown Source)
> at sun.rmi.registry.RegistryImpl.<init>(Unknown Source)
> at java.rmi.registry.LocateRegistry.createRegistry(Unknown Source)
> at jade.imtp.rmi.RMIIMTPManager.getRmiRegistry(Unknown Source)
> at jade.imtp.rmi.RMIIMTPManager.remotize(Unknown Source)
> at jade.core.MainContainerImpl.register(Unknown Source)
> at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
> at jade.core.Runtime.createMainContainer(Unknown Source)
> at jade.Boot.<init>(Unknown Source)
> at jade.Boot.main(Unknown Source)
> Caused by: java.net.BindException: Address already in use: JVM_Bind
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.PlainSocketImpl.bind(Unknown Source)
> at java.net.ServerSocket.bind(Unknown Source)
> at java.net.ServerSocket.<init>(Unknown Source)
> at java.net.ServerSocket.<init>(Unknown Source)
> at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(Unk
> nown Source)
> at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(Unk
> nown Source)
> at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(Unknown
Source)
> ... 15 more
> Exiting now!
>
>
> Could anyone give me help, thanks!
>
> Lin
> _______________________________________________
> 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
>
_______________________________________________
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
------_=_NextPart_001_01C2DBF7.C697D967
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Received: from EXC2K01A.cselt.it ([163.162.4.34]) by EXC2K05A.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Mon, 24 Feb 2003 08:47:39 +0100
Received: from dns1.tilab.com ([163.162.42.4]) by EXC2K01A.cselt.it with Microsoft SMTPSVC(5.0.2195.5329); Mon, 24 Feb 2003 08:47:38 +0100
Received: from DIRECTORY-DAEMON.dns1.cselt.it by dns1.cselt.it (PMDF V6.0-025 #38895) id <0HAS00C01Z20HT@dns1.cselt.it>; Mon, 24 Feb 2003 08:49:12 +0100 (MET)
Received: from sharon.cselt.it (sharon.cselt.it [163.162.30.10]) by dns1.cselt.it (PMDF V6.0-025 #38895) with ESMTP id <0HAS00C7KZ1ZCO@dns1.cselt.it>; Mon, 24 Feb 2003 08:49:12 +0100 (MET)
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Received: from sharon.cselt.it (localhost [127.0.0.1]) by sharon.cselt.it (Postfix) with ESMTP id 11B446B91E; Mon, 24 Feb 2003 08:46:59 +0100 (MET)
Received: from dns1.tilab.com (dns1.cselt.it [163.162.42.4]) by sharon.cselt.it (Postfix) with ESMTP id 2C5C06B91C for <jade-develop@sharon.cselt.it>; Mon, 24 Feb 2003 08:46:55 +0100 (MET)
Received: from EXC2K05A.cselt.it (clu2k05a.cselt.it [163.162.36.101]) by dns1.cselt.it (PMDF V6.0-025 #38895)jade-develop@sharon.cselt.it; Mon, 24 Feb 2003 08:48:28 +0100 (MET)
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Subject: RE: [jade-develop] Access scope of fields in agents
Date: Mon, 24 Feb 2003 08:46:54 +0100
Message-ID: <F6C3888F39ABE74BB423DFA19C07DEBA26C765@EXC2K05A.cselt.it>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [jade-develop] Access scope of fields in agents
Thread-Index: AcLbGNt20GQFxPUNTRuDSi7XFzUCOQAv5XgA
List-Help: <mailto:jade-develop-request@sharon.cselt.it?subject=help>
List-Subscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=subscribe>
List-Unsubscribe: <http://sharon.cselt.it/mailman/listinfo/jade-develop>,<mailto:jade-develop-request@sharon.cselt.it?subject=unsubscribe>
From: "Caire Giovanni" <caire@XRR3.CSELT.IT>
To: "David" <amdawong@starhub.net.sg>,
<jade-develop@sharon.cselt.it>
Hi,
This is definitely a Java issue. JADE agents and behaviour are all Java classes. If you define a field in class A do objects of class B and C have access to this field? Of course it depends on the modifiers for that field, on whether B and C are inner classes of A.....
Bye
Giovanni
-----Original Message-----
From: David [mailto:amdawong@starhub.net.sg]
Sent: domenica 23 febbraio 2003 9.53
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] Access scope of fields in agents
Dear jaders,
I am a newbie at JADE. I have a question pertaining to the access scope
of
Fields in agents.
Suppose I have a field in an agent class as follows
Vector someVector;
Will the behaviours of this agent be able to access this vector ?
If yes, how do they access it ? Is it via the super keyword ?
Also, if the behaviour of this agent can access this vector, what access
do they have ? Do they have private, protect, default of public access ?
Regards
David
_______________________________________________
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
_______________________________________________
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
------_=_NextPart_001_01C2DBF7.C697D967--
This archive was generated by hypermail 2a22 : Mon Feb 24 2003 - 12:39:05 MET