exception « Context « JSP-Servlet Q&A





4. Initial Context Exception    coderanch.com

Hi, I have given all the details about the program. The jndi name in sun-ejb jar.xml file should match with the //*********************************************************** sun-ejb jar.xml //*********************************************************** AdviceBeanBean Advisor and //************************************************************** The client program //************************************************************** Object o = ic.lookup("Advisor"); //*************************************************************** Still why it is showing the error //*************************************************************** javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as ...