CMP EntityJB question
1 posts in topic
Flat View  Flat View

Posted By:   Uros_Kotnik
Posted On:   Tuesday, December 25, 2001 02:13 AM

Using JBuilder 5, WebLogic 6.1

I made CMP EntityJB mostly using EJB entity Bean modeler.

When calling Bean from the client Object ref = ctx.lookup("Countries");
got the following error

javax.naming.NameNotFoundException: Unable to resolve Countries

Just to mention that I couldn't build the Bean with "Use EJBC to generate stub files" option checked on WebLogic.

Re: CMP EntityJB question

Posted By:   Bozidar_Dangubic  
Posted On:   Wednesday, December 26, 2001 05:34 AM

name not found exception from the JNDI lookup call is thrown when name you specify does not map to anything bound to that name in the JNDI. so take a look and verify that your beans have been deployed and that they there is a bean deployed under name "Countries". most app server have admin tools which will allow you to browse and see what is deployed so you can verify that deployment happened. also check deployment descriptor and see under which names have your beans been deployed.
About | Sitemap | Contact