directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: Save long string to ApacheDS
Date Thu, 05 Mar 2009 12:25:38 GMT
DAkhremchyk@iba.by wrote:
> Hello.
>
> I need to save long ascii string in ApacheDS. String size is greater than 
> 64K.
> When I'm trying to save string attribute with length more than 65536 I 
> always get the exception.
> It's UTFDataFormatException.
> Is it possible to storelong strings?
>
> There is no problem saving binary values with size greater than 64K.
>
> It seems that the problem is in function 
> java.io.ObjectOutputStream.writeUTF
> This function called from ServerStringValue.serialize.
> Maybe the solution is to split the string call writeUTF for every 64K part 
> of long string.
>   
I have created this JIRA a couple of days ago :

https://issues.apache.org/jira/browse/DIRSERVER-1319


-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message