Greetings,

Thanks for your prompt reply and information.

Unfortunately using the Studio export/import is not an option in my 
application. What I am actually trying to do is to create a failover mechanism 
for when a "master" directory fails and must switch to another LDAP server 
(perhaps a sloave) that contains the same (or most of) the data contained in 
the master.  In the ApacheDS source code, there is some "replication" code, but 
it does not seem to do much/anything.  


Do you have any advice on how to implement failover/redundancy?

Thanks in advance.

Steve



________________________________
From: Kiran Ayyagari <[email protected]>
To: [email protected]; Steve Hayden <[email protected]>
Sent: Wednesday, September 28, 2011 5:58 PM
Subject: Re: ApacheDS "Tools" "dump" question

the tools project is quite old(broken) and not maintained at the moment
if you want to take a dump would suggest to use Studio's export feature

HTH
On Wed, Sep 28, 2011 at 4:11 PM, Steve Hayden <[email protected]> wrote:
> Greetings,
>
> I am attempting to use the "dump" utility contained in the 
> "apacheds-tools.jar"and am having some
> difficulties. I am attempting this on a Windows 7 environment (and will also 
> need to do it on Linux).
> I have tried this with the 1.5.5 and 1.5.7 versions of ApacheDS, and "dump" 
> does not seems to work on
> either.  I have the "apacheds-tools.jar" in the folder:
>
> "C:\Software_Downloads\ApacheDS\apacheds_1.5.7\bin"
>
> and am using using the command:
>
> java -jar apacheds-tools.jar dump -p system -i C:\app\data\ldap
>
>
> (the "schema" and "system" files that ApacheDS creates are in that "ldap" 
> folder). Executing the command
> above results in the following exception:
>
> ***************** Begin of output/exceptions *************
>        _                     _          ____  ____    _____           _
>       / \   _ __   __ _  ___| |__   ___|  _ \/ ___|  |_   _|__   ___ | |___
>      / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \    | |/ _ \ / _ \| / __|
>     / ___ \| |_) | (_| | (__| | | |  __/ |_| |___) |   | | (_) | (_) | \__ \
>    /_/   \_\ .__/ \__,_|\___|_| |_|\___|____/|____/    |_|\___/ \___/|_|___/
>            |_|
>
> Exception in thread "main" java.lang.IllegalStateException: 
> C:\ofm\data\ldap\bin does not exist!
>         at 
> org.apache.directory.daemon.InstallationLayout.verifyInstallation(InstallationLayout.java:294)
>         at 
> org.apache.directory.server.tools.DumpCommand.execute(DumpCommand.java:156)
>         at 
> org.apache.directory.server.tools.ApachedsTools.main(ApachedsTools.java:112)
>
> ******************* End of output/exceptions *************
>
> As there does not appear to be a "bin" folder created by the ApacheDS startup 
> (or upon creation of a
> new LDAP), it seems that the tool (given the ouput above) is expecting that 
> folder to exist.
>
> Is there something I'm doing wrong?
>
> Any insight/clue would be appreciated.
>
> Kindest regards/thanks,
> Steve
>



-- 
Kiran Ayyagari

Reply via email to