directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRSERVER-1284) The sizeLimit is not a valid Integer
Date Fri, 31 Oct 2008 17:33:44 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRSERVER-1284.
------------------------------------------

    Resolution: Invalid

As the trace said, the Size Limit the server is receiving is invalid.

The 0xFFFFFFFF value is a negative number, which is not allowed but the LDAP protocol, as
stated by RFC 2251/4511 :

sizeLimit       INTEGER (0 ..  maxInt),
maxInt INTEGER ::= 2147483647 -- (2^^31 - 1) --

Just check your client, and post a bug report for it.


> The sizeLimit is not a valid Integer
> ------------------------------------
>
>                 Key: DIRSERVER-1284
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1284
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.0.2
>         Environment: Windows 2003, Apache HTTPD 2.2.6 mod_ldap/mod_authnz_ldap
>            Reporter: Randal Kamradt
>
> Trying to connect Apache HTTPD 2.2.6 via mod_ldap/mod_authnz_ldap results in the following
error messages in the log:
> [09:26:39] ERROR [org.apache.directory.shared.ldap.codec.LdapMessageGrammar] - The sizeLimit
is not a valid Integer: DATA[0xFF 0xFF 0xFF 0xFF ]
> [09:26:39] WARN [org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler]
- [/127.0.0.1:1789] Unexpected exception forcing session to close: sending disconnect notice
to client.
> org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.directory.shared.ldap.message.MessageException:
decoder failture: The sizeLimit is not a valid Integer: DATA[0xFF 0xFF 0xFF 0xFF ] (Hexdump:
02 01 00 01 01 00 A0 84 00 00 00 1F 87 0B 6F 62 6A 65 63 74 63 6C 61 73 73 A3 84 00 00 00
0C 04 03 75 69 64 04 05 61 64 6D 69 6E 30 84 00 00 00 00)
>         at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:174)
>         at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
>         at org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54)
>         at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
>         at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:243)
>         at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:305)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.directory.shared.ldap.message.MessageException: decoder failture:
The sizeLimit is not a valid Integer: DATA[0xFF 0xFF 0xFF 0xFF ]
>         at org.apache.directory.shared.ldap.message.MessageDecoder.decode(MessageDecoder.java:231)
>         at org.apache.directory.shared.asn1.codec.Asn1CodecDecoder.decode(Asn1CodecDecoder.java:53)
>         at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:163)
>         ... 8 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message