Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 149D09F69 for ; Thu, 16 Feb 2012 08:09:41 +0000 (UTC) Received: (qmail 75261 invoked by uid 500); 16 Feb 2012 08:09:40 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 75202 invoked by uid 500); 16 Feb 2012 08:09:40 -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 75194 invoked by uid 99); 16 Feb 2012 08:09:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 08:09:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 08:09:34 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5A3591BA216 for ; Thu, 16 Feb 2012 08:09:12 +0000 (UTC) Date: Thu, 16 Feb 2012 08:09:12 +0000 (UTC) From: "Pierre-Arnaud Marcelot (Issue Comment Edited) (JIRA)" To: dev@directory.apache.org Message-ID: <429155617.45367.1329379752370.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <870698057.7447.1328605979472.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (DIRSTUDIO-768) ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL The PDU buffer size is too small ! 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 [ https://issues.apache.org/jira/browse/DIRSTUDIO-768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209208#comment-13209208 ] Pierre-Arnaud Marcelot edited comment on DIRSTUDIO-768 at 2/16/12 8:08 AM: --------------------------------------------------------------------------- This issue depends on DIRAPI-70 (Ldap filter syntax wich represent a binary value using escape sequence syntax). was (Author: pamarcelot): This is issue depends on DIRAPI-70 (Ldap filter syntax wich represent a binary value using escape sequence syntax). > ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL The PDU buffer size is too small ! > ----------------------------------------------------------------------- > > Key: DIRSTUDIO-768 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-768 > Project: Directory Studio > Issue Type: Bug > Components: studio-ldapbrowser > Affects Versions: 2.0.0-M1 > Environment: Windows 7 64-bit > Reporter: Aleks M > Assignee: Pierre-Arnaud Marcelot > > I'm connecting to several Novell eDirectory servers. > When using the Apache Directory LDAP Client API provider I get an error when I perform a search that returns no results. If I switch to JNDI I get no error. > I get the following error: > Error while performing search > - org.apache.directory.shared.ldap.codec.api.MessageEncoderException: ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL The PDU buffer size is too small ! > org.apache.directory.shared.ldap.model.exception.LdapException: org.apache.directory.shared.ldap.codec.api.MessageEncoderException: ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL The PDU buffer size is too small ! > at org.apache.directory.ldap.client.api.LdapNetworkConnection.searchAsync(LdapNetworkConnection.java:1697) > at org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1717) > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$3.run(DirectoryApiConnectionWrapper.java:522) > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161) > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1095) > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.search(DirectoryApiConnectionWrapper.java:560) > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.search(SearchRunnable.java:501) > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:318) > at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.run(SearchRunnable.java:192) > at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:109) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > Caused by: org.apache.directory.shared.ldap.codec.api.MessageEncoderException: ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL The PDU buffer size is too small ! > at org.apache.directory.shared.ldap.codec.api.LdapEncoder.encodeMessage(LdapEncoder.java:213) > at org.apache.directory.shared.ldap.codec.protocol.mina.LdapProtocolEncoder.encode(LdapProtocolEncoder.java:61) > at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:322) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:509) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1400(DefaultIoFilterChain.java:46) > at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.filterWrite(DefaultIoFilterChain.java:808) > at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.filterWrite(DefaultIoFilterChain.java:734) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:509) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireFilterWrite(DefaultIoFilterChain.java:501) > at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:490) > at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:435) > at org.apache.directory.ldap.client.api.LdapNetworkConnection.writeRequest(LdapNetworkConnection.java:3945) > at org.apache.directory.ldap.client.api.LdapNetworkConnection.searchAsync(LdapNetworkConnection.java:1691) > ... 10 more > org.apache.directory.shared.ldap.codec.api.MessageEncoderException: ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL The PDU buffer size is too small ! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira