Hi,

I have ApacheDS 1.5.7 installed.  I also have sources.

I've found two similar examples on the ApacheDS site for running the server 
embedded
in a servlet.  I can't get either one to work...

---
One example is at: 
http://directory.apache.org/apacheds/1.5/43-embedding-apacheds-as-a-web-application.html

I've been unable to build the example.  The first problem was that it uses 
org.apache.directory.server.core.DefaultDirectoryService
which is not a public class.  So I changed the StartStopListener package to 
org.apache.directory.server.core,
one compile problem solved.

The example also uses:
    org.apache.directory.server.ldap.LdapServer
    org.apache.directory.server.protocol.shared.transport.TcpTransport
I cannot find these classes anywhere, in 1.5.7  they seem to be a part of 1.5.6 
only.  BUT
I cannot build 1.5.6 (which would load the jars to my local repository) because 
the project
parent pom no longer exists, seems not to be in svn, or in some maven repo 
somewhere..


btw.  The parent pom for the apacheds-archetype-webapp also does not seem to 
exist...  ahg...


---
Another example is at: 
https://cwiki.apache.org/DIRxSRVx10/embedding-apacheds-as-a-web-application.html

I've been able to build this example, however it cannot be started in Tomcat.   
The example uses javax.naming.directory.InitialDirContext
and Tomcat 5.5.29 explodes with exceptions trying to use this class.


+++
I can send stack traces etc... but first am I using the correct list?

Should these examples work?  What release of ApacheDS ?   How to build ?

Thanks
Roy


Reply via email to