I am using weblogic 6.0. I deployed an entity bean and a session bean. While I am able to use the entity bean and session bean directly from a client, I am not able to invoke the entity bean from the session bean. The error shown is Entity bean class not found. It is able to find the JNDI name of the entity bean. Could someone advice me on this.
Hi Praveen, You can look on few things like, 1.Check the import statement in the code.This error may come if that class file isn't attached to the class which is calling it. 2.Check your .xml files and the way you have mentioned the <entity bean> tag. 3.Class path set, check whether you have mention proper class path or not. 4.Deployment of entity bean is proper or not.Means, when you start weblogic6.0 server, it basically confirms on console about deployment on the bean or check through console Please check. 5.Check all interfaces of the entity bean in all respect. 6. May be the findByPrimaryKey method or the way you are accessing the entity bean from session bean is not proper. But, as per the error,first three are most probable mistake. Aviansh [This message has been edited by Avinash Kumar (edited June 30, 2001).]
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop