geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viet Nguyen" <vhng...@gmail.com>
Subject Re: java.lang.ClassCastException while getting the home-interface!
Date Tue, 20 Nov 2007 16:37:17 GMT
You are right. Does first FirstHome have the @Remote annotation?

On Nov 20, 2007 11:23 AM, Kest <soap_man@mail.ru> wrote:
>  I DO have all the classes, actually! I mean, the client "sees" them all! I
> can write, for example: FirstHome firstHome;
>  firstHome = (FirstHome)PortableRemoteObject.narrow(objRef,
> FirstHome.class);
>
>  If the client couldn't "see" FirstHome.class, it would never allow the
> first string where I declare the reference to FirstHome. I receive the
> exception exactly when I try to make class casting with (FirstHome)...
> Defining a class-path won't help. Sorry.
> ________________________________
>  View this message in context: Re: java.lang.ClassCastException while
> getting the home-interface!
>
>
>  Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>

Mime
View raw message