Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 97117 invoked from network); 13 Jul 2009 13:59:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jul 2009 13:59:28 -0000 Received: (qmail 66527 invoked by uid 500); 13 Jul 2009 13:59:37 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 66434 invoked by uid 500); 13 Jul 2009 13:59:37 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 66426 invoked by uid 99); 13 Jul 2009 13:59:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 13:59:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jul 2009 13:59:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E3484234C055 for ; Mon, 13 Jul 2009 06:59:14 -0700 (PDT) Message-ID: <2000998300.1247493554930.JavaMail.jira@brutus> Date: Mon, 13 Jul 2009 06:59:14 -0700 (PDT) From: "Christophe DENIS (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIRSERVER-1381) problem using apacheds-tools.jar : ClassCastException during import MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org problem using apacheds-tools.jar : ClassCastException during import ------------------------------------------------------------------- Key: DIRSERVER-1381 URL: https://issues.apache.org/jira/browse/DIRSERVER-1381 Project: Directory ApacheDS Issue Type: Bug Affects Versions: 1.5.4 Environment: OS : Redhat entreprise linux 5 java : jre-6u13-linux-i586 ApacheDS 1.5 Reporter: Christophe DENIS Priority: Blocker Hi, when i try to use apacheds-tools.jar to make an import, I have ClassCastException. [epide_dev@unborn bin]$ java -jar apacheds-tools.jar import -e -f /epide/dev/dbs/apacheds/epide_dev_ldap/conf/test_groupe_spago.ldif _ _ ____ ____ _____ _ / \ _ __ __ _ ___| |__ ___| _ \/ ___| |_ _|__ ___ | |___ / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \ | |/ _ \ / _ \| / __| / ___ \| |_) | (_| | (__| | | | __/ |_| |___) | | | (_) | (_) | \__ \ /_/ \_\ .__/ \__,_|\___|_| |_|\___|____/|____/ |_|\___/ \___/|_|___/ |_| log4j:WARN No appenders could be found for logger (org.apache.directory.shared.ldap.codec.bind.SimpleAuthentication). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" java.lang.ClassCastException: org.apache.directory.shared.ldap.entry.client.ClientStringValue cannot be cast to [B at org.apache.directory.shared.ldap.codec.add.AddRequest.addAttributeValue(AddRequest.java:189) at org.apache.directory.server.tools.ImportCommand.addEntry(ImportCommand.java:240) at org.apache.directory.server.tools.ImportCommand.execute(ImportCommand.java:648) at org.apache.directory.server.tools.ApachedsTools.main(ApachedsTools.java:116) if i try to import the group with eclipse plugin, the import work. i use apacheDS 1.5.4 on RHEL5 someone have an idea? Thanks Christophe -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.