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


----
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".

Reply via email to