solr http 500 look

2008-07-20 Thread Fuad Efendi

What about commenting out this piece of outdated code in SolrServlet:

} catch (Throwable e) {
  SolrException.log(log,e);
  sendErr(500, SolrException.toStr(e), request, response);
}


For instance, SUN Java 5 not necessarily has resources to output
OutOfMemoryError including stack trace; only JRockit can do it... I
understand that historically SOLR developers tried to implement full power
of HTTP, but let's be more pragmatic...



solr http 500 look

2008-07-20 Thread Fuad Efendi
What about commenting out this piece of outdated code in SolrServlet:

} catch (Throwable e) {
  SolrException.log(log,e);
  sendErr(500, SolrException.toStr(e), request, response);
}


For instance, SUN Java 5 not necessarily has resources to output
OutOfMemoryError including stack trace; only JRockit can do it... I
understand that historically SOLR developers tried to implement full power
of HTTP, but let's be more pragmatic...


P.S.
It didn't reach SOLR-DEV. Forwarding to SOLR-USER.

Sent: Sunday, July 20, 2008 7:34 PM
To: solr-dev@lucene.apache.org
Subject: solr http 500 look
...