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_...@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.