From users-return-4069-apmail-directory-users-archive=directory.apache.org@directory.apache.org Wed Sep 28 21:58:50 2011 Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B98B17838 for ; Wed, 28 Sep 2011 21:58:50 +0000 (UTC) Received: (qmail 67212 invoked by uid 500); 28 Sep 2011 21:58:50 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 67188 invoked by uid 500); 28 Sep 2011 21:58:50 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 67180 invoked by uid 99); 28 Sep 2011 21:58:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 21:58:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ayyagarikiran@gmail.com designates 209.85.210.178 as permitted sender) Received: from [209.85.210.178] (HELO mail-iy0-f178.google.com) (209.85.210.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 21:58:44 +0000 Received: by iabz21 with SMTP id z21so10410962iab.37 for ; Wed, 28 Sep 2011 14:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=J7NwNdUnNWQ4k7qDnuEOIaqkqko/0m7WMf82q8PWhl4=; b=QXX81KZep+8PISHjp406JRHAsrNzAq2dSktmJYeAYg2HeEajiq67+hGxjraWOp7HzV WNkYT+Zko6EuYfwep3UZFT6KHYZEh9VqjRLpu/y/5Q55k04qi+XAWSdjTCeS0apkDU/N OCbA+9sWZqbm8lB528Xl2nuHpugrD1gVvKA1Q= MIME-Version: 1.0 Received: by 10.231.8.35 with SMTP id f35mr13597121ibf.4.1317247103693; Wed, 28 Sep 2011 14:58:23 -0700 (PDT) Sender: ayyagarikiran@gmail.com Received: by 10.231.39.198 with HTTP; Wed, 28 Sep 2011 14:58:23 -0700 (PDT) In-Reply-To: <1317240674.31337.YahooMailNeo@web113504.mail.gq1.yahoo.com> References: <1317240674.31337.YahooMailNeo@web113504.mail.gq1.yahoo.com> Date: Wed, 28 Sep 2011 17:58:23 -0400 X-Google-Sender-Auth: PKjR4C92nJxg7Rfys-4EuOxdtm8 Message-ID: Subject: Re: ApacheDS "Tools" "dump" question From: Kiran Ayyagari To: users@directory.apache.org, Steve Hayden Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 wrote: > Greetings, > > I am attempting to use the "dump" utility contained in the "apacheds-tool= s.jar"and am having some > difficulties. I am attempting this on a Windows 7 environment (and will a= lso need to do it on Linux). > I have tried this with the 1.5.5 and 1.5.7 versions of ApacheDS, and "dum= p" does not seems to work on > either.=A0 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 ************* > =A0=A0=A0=A0=A0=A0 _=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 _=A0=A0=A0=A0=A0=A0=A0=A0=A0 ____=A0 ____=A0=A0=A0 _____=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 _ > =A0=A0=A0=A0=A0 / \=A0=A0 _ __=A0=A0 __ _=A0 ___| |__=A0=A0 ___|=A0 _ \/ = ___|=A0 |_=A0=A0 _|__=A0=A0 ___ | |___ > =A0=A0=A0=A0 / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \=A0=A0=A0 | |/= _ \ / _ \| / __| > =A0=A0=A0 / ___ \| |_) | (_| | (__| | | |=A0 __/ |_| |___) |=A0=A0 | | (_= ) | (_) | \__ \ > =A0=A0 /_/=A0=A0 \_\ .__/ \__,_|\___|_| |_|\___|____/|____/=A0=A0=A0 |_|\= ___/ \___/|_|___/ > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 |_| > > Exception in thread "main" java.lang.IllegalStateException: C:\ofm\data\l= dap\bin does not exist! > =A0=A0=A0=A0=A0=A0=A0 at org.apache.directory.daemon.InstallationLayout.v= erifyInstallation(InstallationLayout.java:294) > =A0=A0=A0=A0=A0=A0=A0 at org.apache.directory.server.tools.DumpCommand.ex= ecute(DumpCommand.java:156) > =A0=A0=A0=A0=A0=A0=A0 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 sta= rtup (or upon creation of a > new LDAP), it seems that the tool (given the ouput above) is expecting th= at folder to exist. > > Is there something I'm doing wrong? > > Any insight/clue would be appreciated. > > Kindest regards/thanks, > Steve > --=20 Kiran Ayyagari