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