directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Save long string to ApacheDS
Date Thu, 05 Mar 2009 11:52:13 GMT

I need to save long ascii string in ApacheDS. String size is greater than 
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
This function called from ServerStringValue.serialize.
Maybe the solution is to split the string call writeUTF for every 64K part 
of long string.

Best regards
Dmitry Ahremchik

View raw message