launch container with 2 MTPs

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

launch container with 2 MTPs

by Sofoula S :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hello,
 
I am trying some examples and I am having some trouble.. I try to launch a jade container with 2 MTPs but it doesn't seam to work and I cannot figure out why
 
I am running the following command and I have tried several expressions instead of localhost everytime though I get the same result:
 
command:
 
java jade.Boot -container -host localhost -mtps jade.mtp.http.MessageTransportProtocol(https://localhost:8080/acc);jade.mtp.iiop.MessageTransportProtocol

 
reuslt:
 
7 ═Ύί 2009 12:18:35 ΉΉ 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/
----------------------------------------
7 ═Ύί 2009 12:18:35 ΉΉ jade.core.AgentContainerImpl joinPlatform
SEVERE: Some problem occurred while joining agent platform.
jade.core.ProfileException: Can't get a proxy to the Platform Manager [nested ja
de.core.IMTPException: Can't get a proxy to the PlatformManager at address rmi:/
/localhost:1099/ [nested java.rmi.NoSuchObjectException: no such object in table
]]
        at jade.core.ProfileImpl.createPlatformManager(ProfileImpl.java:574)
        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.createAgentContainer(Runtime.java:116)
        at jade.Boot.<init>(Boot.java:133)
        at jade.Boot.main(Boot.java:70)
Nested Exception:
jade.core.IMTPException: Can't get a proxy to the PlatformManager at address rmi
://localhost:1099/ [nested java.rmi.NoSuchObjectException: no such object in tab
le]
        at jade.imtp.rmi.RMIIMTPManager.getPlatformManagerProxy(RMIIMTPManager.j
ava:318)
        at jade.imtp.rmi.RMIIMTPManager.getPlatformManagerProxy(RMIIMTPManager.j
ava:308)
        at jade.core.ProfileImpl.createPlatformManager(ProfileImpl.java:571)
        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.createAgentContainer(Runtime.java:116)
        at jade.Boot.<init>(Boot.java:133)
        at jade.Boot.main(Boot.java:70)
Nested Exception:
java.rmi.NoSuchObjectException: no such object in table
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at java.rmi.Naming.lookup(Unknown Source)
        at jade.imtp.rmi.RMIIMTPManager.getPlatformManagerProxy(RMIIMTPManager.j
ava:314)
        at jade.imtp.rmi.RMIIMTPManager.getPlatformManagerProxy(RMIIMTPManager.j
ava:308)
        at jade.core.ProfileImpl.createPlatformManager(ProfileImpl.java:571)
        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.createAgentContainer(Runtime.java:116)
        at jade.Boot.<init>(Boot.java:133)
        at jade.Boot.main(Boot.java:70)
7 ═Ύί 2009 12:18:35 ΉΉ jade.core.Runtime$1 run
INFO: JADE is closing down now.
 
 
 
could anyone help?? thank's in advance
 
 
 


Windows Live: Keep your friends up to date with what you do online.
_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm

RE: launch container with 2 MTPs

by Caire Giovanni-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

The problem is not related at all to MTPs. The point is that you are launching a peripheral container (-container option) without a Main Container. Look at the JADE tutorial for beginners or at the administrator’s guide for an explanation of JADE basic architectural concepts such as Main-Container, Containers and Platform.

 

Bye,

 

Giovanni   

 


From: jade-develop-bounces@... [mailto:jade-develop-bounces@...] On Behalf Of Sofoula S
Sent: sabato 7 novembre 2009 11.26
To: jade-develop@...
Subject: [jade-develop] launch container with 2 MTPs

 

Hello,
 
I am trying some examples and I am having some trouble.. I try to launch a jade container with 2 MTPs but it doesn't seam to work and I cannot figure out why
 
I am running the following command and I have tried several expressions instead of localhost everytime though I get the same result:
 
command:
 
java jade.Boot -container -host localhost -mtps jade.mtp.http.MessageTransportProtocol(https://localhost:8080/acc);jade.mtp.iiop.MessageTransportProtocol

 
reuslt:
 
7
Ύί 2009 12:18:35 ΉΉ 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/
----------------------------------------
7
Ύί 2009 12:18:35 ΉΉ jade.core.AgentContainerImpl joinPlatform
SEVERE: Some problem occurred while joinin
g agent platform.
jade.core.ProfileException: Can't get a proxy to the Platform Manager [nested ja
de.core.IMTPException: Can't get a proxy to the PlatformManager at address rmi:/
/localhost:1099/ [nested java.rmi.NoSuchObjectException: no such object in table
]]
        at jade.core.ProfileImpl.createPlatformManager(ProfileImpl.java:574)
        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.createAgentContainer(Runtime.java:116)
        at jade.Boot.<init>(Boot.java:133)
        at jade.Boot.main(Boot.java:70)
Nested Exception:
jade.core.IMTPException: Can't get a proxy to the PlatformManager at address rmi
://localhost:1099/ [nested java.rmi.NoSuchObjectException: no such object in tab
le]
        at jade.imtp.rmi.RMIIMTPManager.getPlatformManagerProxy(RMIIMTPManager.j
ava:318)
        at jade.imtp.rmi.RMIIMTPManager.getPlatformManagerProxy(RMIIMTPManager.j
ava:308)
        at jade.core.ProfileImpl.createPlatformManager(ProfileImpl.java:571)
        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.createAgentContainer(Runtime.java:116)
        at jade.Boot.<init>(Boot.java:133)
        at jade.Boot.main(Boot.java:70)
Nested Exception:
java.rmi.NoSuchObjectException: no such object in table
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
n Source)
        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at java.rmi.Naming.lookup(Unknown Source)
        at jade.imtp.rmi.RMIIMTPManager.getPlatformManagerProxy(RMIIMTPManager.j
ava:314)
        at jade.imtp.rmi.RMIIMTPManager.getPlatformManagerProxy(RMIIMTPManager.j
ava:308)
        at jade.core.ProfileImpl.createPlatformManager(ProfileImpl.java:571)
        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.createAgentContainer(Runtime.java:116)
        at jade.Boot.<init>(Boot.java:133)
        at jade.Boot.main(Boot.java:70)
7
Ύί 2009 12:18:35 ΉΉ jade.core.Runtime$1 run
INFO: JADE is closing down now.
 
 
 
could anyone help?? thank's in advance
 
 
 


Windows Live: Keep your friends up to date with what you do online.


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