This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have set the jndi-name as "ejb20-basic-containerManaged-CabinHome" in my weblogic-ejb-jar.xml file. I built all the required container classes using ant. While running the client, Iam getting the follo. error: The client was unable to lookup the EJBHome. Please make sure that you have dep loyed the ejb with the JNDI name ejb20-containerManaged-CabinHome on the WebLogi c server at t3://localhost:7001 Unable to look up the beans home: Unable to resolve 'ejb20-containerManaged-Cabi nHome' Resolved: '' Unresolved:'ejb20-containerManaged-CabinHome' Can someone tell me what needs to be done
Priya, Try some simple names. Also you can view the JNDI tree by selecting the context menu when you right click on the server link in weblogic administration console. You should see your JNDI name there. Also there could be a problem in your xml or bean files. Try to use the console to undeploy and redeploy the bean. You may see some exceptions.
Joined: Nov 02, 2002
ThankYou Sai. I fixed the error. Seems like my beans were not deployed properly. Thanks again for pointing me in the right direction.