Subject: Re: [jade-develop] Can not start JADE
From: LIU YONG JIE (lyj@sympatico.ca)
Date: Sun Feb 23 2003 - 23:37:09 MET
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:39:41 +0100 (MET)
ReSent-From: Fabio Bellifemine <bellif@sharon.cselt.it>
ReSent-To: jade-develop-hypermail@sharon
ReSent-Subject: Re: [jade-develop] Can not start JADE
ReSent-Message-ID: <Pine.SO4.4.05.10302241239410.20050@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:49 MET