directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <>
Subject Re: [ApacheDS] Running inside JBoss with data storage
Date Sat, 06 Oct 2007 17:15:05 GMT
Hi !

The data are stored in a place you can change by replacing the
WorkingDirectory when initializing the server. In the following code,
took from the wiki page, you can see that it's set to the content of
"javax.servlet.context.tempdir". It can be whatever you want, you just
have to call the cfg.setWorkingDirectory() method with the place which
fits your need :

        // Determine an appropriate working directory
        ServletContext servletContext = evt.getServletContext();
        File workingDir = (File) servletContext

        try {
            MutableServerStartupConfiguration cfg = new

Hope it helps

On 10/6/07, Przemyslaw Rudzki <> wrote:
> Hi all,
> I am looking for the way to run ApacheDS in the way as it was described
> in the Advanced User's Guide[1]. I would like to be able to point to the
> place where the partition data are to be stored.
> Any hints where I could find some example about this?
> Maybe there is a way to store the data in the database that is already
> defined as Datasource inside App Server?
> All the best,
> /p
> [1]

Emmanuel L├ęcharny

View raw message