Jean-Philippe SCHALLER wrote:
>
> Hi everyone,
>
> I have some trouble at runtime. I have an Entity bean named EntityContent,
> which compiles and deploys successfully, but when I run my client app, I get
> the following error :
>
> java.lang.ClassCastException
> at
> com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemo
> teObject.java:296)
> at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
> at com.novadeck.ejb.EJBHomes.initEJBHomes(EJBHomes.java:92)
> [...]
>
> The corresponding line is this one :
>
> entityContentHome =
> EntityContentHome)PortableRemoteObject.narrow( initial.lookup( "nvd/entity/c
> ontent" ), EntityContentHome.class);
>
> The examples given with JOnAS work perfectly.
>
> Any idea ?
> Thanks ! :)
>
> Jean-Philippe SCHALLER
> [EMAIL PROTECTED] - http://www.modelmadz.net
>
> ----
Hi,
it seems that you don't use the JOnAS implementation of
PortableRemoteObject class
verify your CLASSPATH
Best regards,
--
Philippe
Philippe Coq Evidian Phone: (33) 04 76 29 78 49
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".