aspose file tools*
The moose likes Tomcat and the fly likes integrating Apache with LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "integrating Apache with LDAP" Watch "integrating Apache with LDAP" New topic
Author

integrating Apache with LDAP

Siddharth Ramavat
Ranch Hand

Joined: Feb 03, 2005
Posts: 41
Hello all,
I am developing a chat applicatiion in which I require to add the entry fof the user to LDAP directory after the authentication via servlet.

Now I am using Apache tomcat as the web server to execute the servlet and I include the netscape.ldap.* in the servlet to import the necessary classes of the netscape sdk.

But the servlet is not able to find the package when the package is very much present and the required classpath is also set

Actually I am having a LoginServlet which calls Add.java class (which includes all the necessary steps to make the ldap entry ie LDAPEntry,LdAPConnection as well as adds the entry to ldap directory) by making an object of the same.

But the LoginServlet after importing the netscaoe.ldap.* package is not able to find classes (ie LDAPEntry,LDAPConnection)

Questions:::::::::::::::::::::::::::::::

1. So where should I place the package netscape.ldap.*

2. What to include in the servlet code

3. Where to put netscape .jars files in the container of Apache

4. How to make netscape.ldap.* reachable

Regards
Siddharth
 
 
subject: integrating Apache with LDAP
 
Similar Threads
JNDI ? is it necessary
JNDI Obtaining Last uidNumber
what to do to add the entry to LDAP
servlet unable to retrieve the package why??
Websphere & LDAP servlet