0 Replies Latest reply on May 5, 2002 12:34 PM by sixpack

    InitialContext.lookup() returns MarshalledValuePair

    sixpack

      (3.0 RC2, Sun JDK 1.3.1_02, client in different VM)

      When I try to lookup the home of a CMP EntityBean from within client code that runs in a different VM, I receive an Object of type org.jnp.interfaces.MarshalledValuePair (Shouldn't this be a MarshalledObject).

      The following cast via PortableRemoteObject.narrow() throws a ClassCastException. What is wrong here, any ideas anyone?