directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-1319) Cannot save String values larger than 64 Kb
Date Fri, 24 Sep 2010 06:05:34 GMT


Felix Knecht commented on DIRSERVER-1319:

I rewrote it. Please note that the value 65535 is already mentioned in the java doc, therefore
we can use it (

See commit

If you can agree please close the issue.


> Cannot save String values larger than 64 Kb 
> --------------------------------------------
>                 Key: DIRSERVER-1319
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>            Reporter: Emmanuel Lecharny
>            Assignee: Felix Knecht
>             Fix For: 2.0.0-RC1
> We can't save String values into the server due to the way the entries are serialized
: we are using a OutputStream.writeUTF() which is limited to 65535 chars.
> We have two options :
> - we save data splitting them in smaller chuncks
> - we save a reference to a file, considering the data as a stream.
> The second option would be way better, but is more complicated to implement. In any case,
both system change the way the serialization works.

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

View raw message