You need to add J2ee.jar into your classpath
-----Original Message----- From: VBommakanti [mailto:VBommakanti@;HOUSTON.DEEPWATER.COM] Sent: Monday, November 11, 2002 1:03 PM To: JSP-INTEREST Cc: VBommakanti Subject: Oracle LDAP Connectivity Using Java Stored Procedures Hi Iam using Oracle 8i as the database. I have successfully loaded JVM and run some Java Stored Procedures. The one iam having problem is when i try to connect to LDAP sever from one of the Java Stored Procedures. I get the following error javax.naming.NoInitialContextException: Cannot instantiate class:com.sun.jndi.ldap.LdapCtxFactory [Root exception is java.lang.ClassNotFoundException: com/sun/jndi/ldap/LdapCtxFactory] I am using JNDI to connect to LDAP. BTW I have the same class running successfully on my Tomcat enviromnet. The problem is when i load it into Oracle that I get the above problem. Any help in this regards is greatlty appreciated. Thanks Vamsee ======================================================================== === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.417 / Virus Database: 233 - Release Date: 11/08/02 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.417 / Virus Database: 233 - Release Date: 11/08/02 =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com