Folks,
I just created my first CMP 2.0 compliant Entity bean and I get the following error when running:
Exception in thread "main" java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at com.ronmar.churchscip.entity.ChurchInfo_TEST.test(ChurchInfo_TEST.java:41)
at com.ronmar.churchscip.entity.ChurchInfo_TEST.main(ChurchInfo_TEST.java:54)
I am able to do the Context.lookup okay and when I do a toString on the object that came back I get:
ref = ChurchScrip/ChurchInfoHome
Folks, I forgot to mention that I am using version 3.0 RC1. I have attached my jar file for viewing. Also, as the title may imply I do have Entity beans that are EJB 1.1 compliant and they work fine. Also, all my Session beans work fine.