• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

integrating Apache with LDAP

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic