[
https://issues.apache.org/jira/browse/DIRSERVER-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914343#action_12914343
]
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
(http://download.oracle.com/javase/1.5.0/docs/api/java/io/DataOutput.html#writeUTF%28java.lang.String%29).
See commit http://svn.apache.org/viewvc?view=revision&revision=1000719.
@Emmanuel
If you can agree please close the issue.
Thanks
Felix
> Cannot save String values larger than 64 Kb
> --------------------------------------------
>
> Key: DIRSERVER-1319
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1319
> 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.