directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DAkhremc...@iba.by
Subject Save long string to ApacheDS
Date Thu, 05 Mar 2009 11:52:13 GMT
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.

Best regards
Dmitry Ahremchik

Mime
View raw message