Applets & agents


Subject: Applets & agents
marco.iengo@katamail.com
Date: Tue Nov 19 2002 - 10:23:17 MET


Hi, JADERS
   do you know someone that has executed agents in applets with success?
I have proceeded as the Keven's example, but I have this problem:

Communication failure while contacting agent platform:
Communication Failure [ne
sted message is: Error unmarshaling return header; nested exception is:
        java.net.SocketException: Connection aborted by peer: JVM_recv in socket
 input stream read]
jade.core.IMTPException: Communication Failure [nested message is: Error unmarsh
aling return header; nested exception is:
        java.net.SocketException: Connection aborted by peer: JVM_recv in socket
 input stream read]
        at jade.imtp.rmi.MainContainerAdapter.addContainer(Unknown Source)
        at jade.core.MainContainerProxy.register(Unknown Source)
        at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
        at jade.core.Runtime.createAgentContainer(Unknown Source)
        at ClientApplet.startAgent(ClientApplet.java:58)
        at ClientApplet.init(ClientApplet.java:37)
        at sun.applet.AppletPanel.run(AppletPanel.java:344)
        at java.lang.Thread.run(Thread.java:484)
Nested Exception is:
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception
is:
        java.net.SocketException: Connection aborted by peer: JVM_recv in socket
 input stream read
java.net.SocketException: Connection aborted by peer: JVM_recv in socket input s
tream read
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:86)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
        at java.io.DataInputStream.readByte(DataInputStream.java:222)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
186)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
        at jade.imtp.rmi.MainContainerRMIImpl_Stub.addContainer(Unknown Source)
        at jade.imtp.rmi.MainContainerAdapter.addContainer(Unknown Source)
        at jade.core.MainContainerProxy.register(Unknown Source)
        at jade.core.AgentContainerImpl.joinPlatform(Unknown Source)
        at jade.core.Runtime.createAgentContainer(Unknown Source)
        at ClientApplet.startAgent(ClientApplet.java:58)
        at ClientApplet.init(ClientApplet.java:37)
        at sun.applet.AppletPanel.run(AppletPanel.java:344)
        at java.lang.Thread.run(Thread.java:484)

Do you know why? Can you help me ?
  
  Thank you
 Marco Iengo

__________________________________________

Fai i tuoi acquisti su www.kwshopping.it



This archive was generated by hypermail 2a22 : Tue Nov 19 2002 - 10:22:01 MET