ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | proactive List | September 2003 Index

<--  Date Index  --> <--  Thread Index  -->

ConstructionOfProxyObjectFailedException


Hello!

I am using ProActive to enable RePast (http://repast.sourceforge.net)
to perform distributed simulations. It is an extension to the work
done by Tom Howe few months ago.

ProActive sends the all classes over the network just fine.
Unfortunately, there is just one that ProActive seems to have problem
digesting, the Introspector class. You can see source of this file at:

   
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/repast/repast/src/uchicago/src/reflector/Introspector.java?rev=1.8&content-type=text/vnd.viewcvs-markup

If I manually copy the classes to the various nodes, then everything
works just fine and ProActive is able to generate the stub for the
introspector. You will find below the stack trace of the exception
that is thrown:

ClassServer sent class ...
ClassServer sent class uchicago.src.sim.engine.PropertyEvent successfully
ClassServer sent class uchicago.src.reflector.MethodFactory successfully
ClassServer sent class uchicago.src.sim.engine.PropertyListener successfully
ClassServer sent class uchicago.src.collection.Pair successfully
Class can't be found e=java.lang.ClassNotFoundException: 
uchicago.src.reflector.Introspector
org.objectweb.proactive.core.mop.ConstructionOfProxyObjectFailedException: 
Class can't be found
e=java.lang.ClassNotFoundException: uchicago.src.reflector.Introspector
        at 
org.objectweb.proactive.ProActive.createStubObject(ProActive.java:1325)
        at 
org.objectweb.proactive.ProActive.createStubObject(ProActive.java:1314)
        at org.objectweb.proactive.ProActive.turnActive(ProActive.java:483)
        at org.objectweb.proactive.ProActive.turnActive(ProActive.java:406)
        at org.objectweb.proactive.ProActive.turnActive(ProActive.java:368)
        at 
uchicago.src.sim.engine.RemoteBatchController.setModelParameters(RemoteBatchController.java:129)
        at 
uchicago.src.sim.engine.RemoteBatchController.setModel(RemoteBatchController.java:108)
        at 
uchicago.src.sim.engine.RemoteBatchController.setModelClass(RemoteBatchController.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.objectweb.proactive.core.mop.MethodCall.execute(MethodCall.java:278)
        at 
org.objectweb.proactive.core.body.request.RequestImpl.serveInternal(RequestImpl.java:123)
        at 
org.objectweb.proactive.core.body.request.RequestImpl.serve(RequestImpl.java:87)
        at 
org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serve(BodyImpl.java:263)
        at 
org.objectweb.proactive.core.body.AbstractBody.serve(AbstractBody.java:279)
        at 
org.objectweb.proactive.core.body.ActiveBody$FIFORunActive.runActivity(ActiveBody.java:217)
        at 
org.objectweb.proactive.core.body.ActiveBody.run(ActiveBody.java:145)
        at java.lang.Thread.run(Thread.java:536)
ClassServer sent class uchicago.src.sim.engine.BatchController$1 successfully
ClassServer sent class cern.jet.random.Normal successfully
ClassServer sent class ch.ethz.geosim2.phase.shock.TaxationShockStrategy 
successfully
ClassServer sent class 
ch.ethz.geosim2.actor.behavior.decisions.DemocraticDecisionStrategy 
successfully
ClassServer sent class 
ch.ethz.geosim2.phase.structuralchange.SimpleStructuralChangeStrategy 
successfully
ClassServer sent class uchicago.src.sim.gui.Drawable successfully
ClassServer sent class uchicago.src.sim.space.Object2DGrid successfully
ClassServer sent class uchicago.src.sim.space.Discrete2DSpace successfully
ClassServer sent class ...

Do you have any idea of what could be causing the problem? Is there a
way to fix or circumvent it???

Kind regards,

Luc

-- 
Luc Girardin  Macrofocus GmbH, Wasserwerkstr. 10, CH-8006 Zurich
       email: luc.girardin@xxxxxxxxxxxxxx
       phone: +41 1 350 52 18
         fax: +41 1 350 52 19
         web: http://www.macrofocus.com/

Where in the world should you travel - or perhaps even relocate - to
pay less, earn more, and improve your living conditions? Find it out
with City'O'Scope, available at http://www.macrofocus.com/cityoscope/




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.