lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fehling (JIRA)" <>
Subject [jira] Commented: (SOLR-2381) The included jetty server does not support UTF-8
Date Wed, 09 Mar 2011 12:52:59 GMT


Bernd Fehling commented on SOLR-2381:

I just debugged jetty-6.1.26-patched-JETTY-1340 and located the bug.
As I already said above, it is due to buffer size of 512 bytes for output and the surrogates.
If the buffer is filled up to 510 bytes and the next one is a UTF-8 above BMP (greater than
2 bytes) then
jetty is in trouble.
Quickest fix would be to use the working code snippet from jetty-7.3.1 and replace the buggy

Unfortunately, as we are switching from FAST System to Solr, all our Interfaces are using
We never had any problems with FAST, XML and UTF-8. 
It would be a mess reworking everything to JSON just for Solr.

> The included jetty server does not support UTF-8
> ------------------------------------------------
>                 Key: SOLR-2381
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>            Priority: Blocker
>             Fix For: 3.1, 4.0
>         Attachments: SOLR-2381.patch, SOLR-2381_xmltest.patch, SOLR-ServletOutputWriter.patch,
jetty-6.1.26-patched-JETTY-1340.jar, jetty-util-6.1.26-patched-JETTY-1340.jar,,
> Some background here:
> Some possible solutions:
> * wait and see if we get resolution on To
be honest, I am not even sure where jetty is being maintained (there is a separate jetty project
at with another bugtracker, but the older releases are at codehaus).
> * include a patched version of jetty with correct utf-8, using that patch.
> * remove jetty and include a different container instead.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message