directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ewelina hojdys (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-2163) ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL The PDU buffer size is too small
Date Sat, 13 Aug 2016 06:22:20 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-2163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419825#comment-15419825
] 

ewelina hojdys commented on DIRSERVER-2163:
-------------------------------------------

My application is working as a proxy, rebuilding incoming ldap
requests to netconf xml messages - message is coming correctly, is
rebuilding and sending to netconf server correctly, server is
responding success and this one success response I'm rebuilding to
three ldap responses, as I wrote in previous comments. the problem is
not kind of exop messages - each that I'm using in testcases is
working, The problem is sending third response



> ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL The PDU buffer size is too small
> --------------------------------------------------------------------
>
>                 Key: DIRSERVER-2163
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2163
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 2.0.0-M20
>            Reporter: ewelina hojdys
>
> I've a special case. I need to send 3 extended responses for one extedned request. I'm
able to send 2 messages but when I'm sending third one I have warning:
> [2016-08-11 14:45:42,990] WARN [org.apache.directory.server.ldap.LdapProtocolHandler.exceptionCaught(LdapProtocolHandler.java:237)]
- Unexpected exception forcing session to close: sending disconnect notice to client.
> org.apache.mina.filter.codec.ProtocolEncoderException: org.apache.directory.api.ldap.codec.api.MessageEncoderException:
ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL The PDU buffer size is too small !
> 	at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:337)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:625)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1500(DefaultIoFilterChain.java:48)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.filterWrite(DefaultIoFilterChain.java:953)
> 	at org.apache.mina.filter.executor.ExecutorFilter.filterWrite(ExecutorFilter.java:613)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:625)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1500(DefaultIoFilterChain.java:48)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.filterWrite(DefaultIoFilterChain.java:953)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.filterWrite(DefaultIoFilterChain.java:877)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callPreviousFilterWrite(DefaultIoFilterChain.java:625)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireFilterWrite(DefaultIoFilterChain.java:618)
> 	at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:502)
> 	at org.apache.mina.core.session.AbstractIoSession.write(AbstractIoSession.java:447)
> 	at com.ericsson.transformers.ldap_proxy_plugin.ldap.handlers.ProxyExtendedRequestHandler.remoteTransportExtended(ProxyExtendedRequestHandler.java:140)
> 	at com.ericsson.transformers.ldap_proxy_plugin.ldap.handlers.ProxyExtendedRequestHandler.handle(ProxyExtendedRequestHandler.java:70)
> 	at com.ericsson.transformers.ldap_proxy_plugin.ldap.handlers.ProxyExtendedRequestHandler.handle(ProxyExtendedRequestHandler.java:29)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:207)
> 	at org.apache.directory.server.ldap.handlers.LdapRequestHandler.handleMessage(LdapRequestHandler.java:56)
> 	at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(DemuxingIoHandler.java:221)
> 	at org.apache.directory.server.ldap.LdapProtocolHandler.messageReceived(LdapProtocolHandler.java:217)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:854)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:542)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:48)
> 	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:943)
> 	at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
> 	at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
> 	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.runTask(UnorderedThreadPoolExecutor.java:475)
> 	at org.apache.mina.filter.executor.UnorderedThreadPoolExecutor$Worker.run(UnorderedThreadPoolExecutor.java:429)
> 	at java.lang.Thread.run(Thread.java:722)
> Caused by: org.apache.directory.api.ldap.codec.api.MessageEncoderException: ERR_00004_PDU_BUFFER_SIZE_TOO_SMALL
The PDU buffer size is too small !
> 	at org.apache.directory.api.ldap.codec.api.LdapEncoder.encodeMessage(LdapEncoder.java:213)
> 	at org.apache.directory.api.ldap.codec.protocol.mina.LdapProtocolEncoder.encode(LdapProtocolEncoder.java:78)
> 	at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:306)
> 	... 28 more
> and message isn't sent. I was trying to change LdapServer PDU buffer, but it doesn't
change anything. Could you suggest me any wokraround or help me fix that issue?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message