directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <>
Subject Re: Embedded ApacheDS examples not working
Date Thu, 29 Jul 2010 20:55:46 GMT
hi Roy,

     I have updated the webapp archetype to the latest version (1.5.8-SNAPSHOT).
     There was a bug which affects the way schema loader extracts the
schema in a container
     environment (this was fixed after releasing 1.5.7 hence I used
the latest version)

    Please follow the below instructions to build the sample web app
    (note: many steps are identical to those present on the webpage[1] )

    1. either do a complete checkout and build or just run 'svn up' if
you have already checked it out

     svn co
     cd apacheds-archetype-webapp
     mvn install

    2. mvn archetype:generate \
                       -DarchetypeArtifactId=apacheds-archetype-webapp \
                       -DarchetypeVersion=1.5.8-SNAPSHOT \
                       -DartifactId=ApacheDS -Dversion=1.0-SNAPSHOT

       (note: only the archetype's version was changed, remaining all are same)

    3. running


        mvn  jetty:run


         a. copy the app folder from ApacheDS/target to the webapps folder

         b. set/export

         c. start the tomcat


Kiran Ayyagari


On Fri, Jul 30, 2010 at 12:21 AM, Benjamin, Roy <> wrote:
> 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:
> I've been unable to build the example.  The first problem was that it uses
> which is not a public class.  So I changed the StartStopListener package to,
> one compile problem solved.
> The example also uses:
> I cannot find these classes anywhere, in 1.5.7  they seem to be a part of 1.5.6 only.
> 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...
> ---
> Another example is at:
> I've been able to build this example, however it cannot be started in Tomcat.   The
example uses
> 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

View raw message