Thank you, Alexandre. I solved this problem. It's not a database problem but a 
server problem as the error message clearly stated. I resolved this by adding 
more tcp transport buffer size in application server.

Xuefeng  


________________________________
 From: Alexandre Rafalovitch <arafa...@gmail.com>
To: Xue-Feng Yang <just4l...@yahoo.com>; solr-user@lucene.apache.org 
Sent: Sunday, July 29, 2012 12:10:20 AM
Subject: Re: Request header is too large.
 
Where is the error message? On the database side?

If it is repeatable, I would just put the two on separate machines and
wireshark the http conversation. The problem might become apparent then
from visual inspection.

Regards,
    Alex
On Jul 28, 2012 1:24 PM, "Xue-Feng Yang" <just4l...@yahoo.com> wrote:

> Hi all,
>
> When run DIH  indexing data from database, I run into the following error.
>
> Anyone knows what is the problem?
>
> Thanks,
>
> Xufeng
>
> ///////////////////////////////////////////////////
>
> SEVERE: GRIZZLY0040: Request header is too large.
> java.nio.BufferOverflowException
>     at
> com.sun.grizzly.tcp.http11.InternalInputBuffer.fill(InternalInputBuffer.java:765)
>     at
> com.sun.grizzly.tcp.http11.InternalInputBuffer.parseHeader(InternalInputBuffer.java:669)
>     at
> com.sun.grizzly.tcp.http11.InternalInputBuffer.parseHeaders(InternalInputBuffer.java:555)
>     at
> com.sun.grizzly.http.ProcessorTask.parseRequest(ProcessorTask.java:881)
>     at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:692)
>     at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
>     at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>     at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>     at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>     at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>     at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>     at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>     at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>     at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>     at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>     at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>     at java.lang.Thread.run(Thread.java:662)

Reply via email to