Ingo Vietense wrote:
Hi,
i took the ChatServerSpring example and tried to implement server based on
this example.
But now i'm facing a:
org.apache.mina.filter.codec.RecoverableProtocolDecoderException: Line is
too long: 1123 (Hexdump: 32 31 39 .......................................
The TextLineDecoder uses an internal buffer with a 1024 size. You can
change this value using the setMmaxLineLength method :
/**
* Sets the allowed maximum size of the line to be decoded.
* If the size of the line to be decoded exceeds this value, the
* decoder will throw a {...@link BufferDataException}. The default
* value is <tt>1024</tt> (1KB).
*/
public void setMaxLineLength(int maxLineLength)
--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org