I'm getting the following message when I try to perform
UserHome home = (UserHome)PortableRemoteObject.narrow(ref, UserHome.class);
results in...
[15:34:55,096,Default] javax.ejb.EJBException: Unknown method type: setEntityCon
text
[15:34:55,096,Default] at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:131)
[15:34:55,096,Default] at org.jboss.proxy.ProxyCompiler$Runtime.invoke(ProxyCompiler.java:89)
[15:34:55,096,Default] at com.bofa.ec2k.app.feedback.entity.UserEntity$Proxy.setEntityContext(Unknown Source)
[15:34:55,096,Default] at org.jboss.ejb.EntityEnterpriseContext.(EntityEnterpriseContext.java:78)
[15:34:55,096,Default] at org.jboss.ejb.plugins.EntityInstancePool.create(EntityInstancePool.java:82)
[15:34:55,096,Default] at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:153)
[15:34:55,096,Default] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:142)
The application deploys without problem - any reason why the container wouldn't be generating the setEntityContext method automatically (since I shouldn't need to do this in CMP 2.0)?