On 06/09/10 10:32, Khadija EL MAHRSI wrote:
Hello,
the weird thing is that if I create an instance of the class "parent" on
the remote site it works just fine. Any ideas?

Yes, it is probably related to the resources that you can't export to other sites, so they are just marshalled as "resource/unusable" (depending on Mozart's version). Post the code of the parent class, and the error message and we might be able to help you better.

cheers
Boriss

Thanks

2010/9/5 Wolfgang Meyer <[email protected]
<mailto:[email protected]>>

    Hi,

    there is probably something about class "parent" which causes problems
    on the remote site, like for example usage of a sited module in the
    constructor of "parent". Hard to say without more details. Is there
    any error message? Can you show the code of class "parent"?

    Cheers,
      Wolfgang


    On Sun, Sep 5, 2010 at 5:12 PM, Khadija EL MAHRSI
    <[email protected] <mailto:[email protected]>> wrote:
     > Hello,
     > I have encountered a problem and I was wondering if anyone had an
     > explanation to it.
     > I have the following hierarchy:
     > class grandParent
     > class parent from grandParent
     > class child from parent
     > If I try to create an instance of the child class on a remote
    site, the
     > creation fails. If I write "class child from grandParent" instead
    of "class
     > child from parent" the creation of the child instance on the
    remote site is
     > successful.
     > I tried to seperate the 3 classes in 3 different .oz files but it
    still
     > didn't work. When working locally, the creation works perfectly
    using "class
     > child from parent".
     > Can anyone explain why?
     > Maybe I'm doing something wrong? Am I supposed to do things
    differently now
     > that the instance is being created on a remote site?
     > I need an answer.
     > Thanks.
     >
     >
    
_________________________________________________________________________________
     > mozart-users mailing list
     > [email protected] <mailto:[email protected]>
     > http://www.mozart-oz.org/mailman/listinfo/mozart-users
     >
    
_________________________________________________________________________________
    mozart-users mailing list [email protected]
    <mailto:[email protected]>
    http://www.mozart-oz.org/mailman/listinfo/mozart-users




_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to