directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Hayden <hshay...@yahoo.com>
Subject ApacheDS "Tools" "dump" question
Date Wed, 28 Sep 2011 20:11:14 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message