Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] java.lang.IllegalStateException: FULL


You want to up the 'bufferSize' init parameter - which defaults to 8K. This can either be done via the normal XML configs or (as we did for project-specific reasons) by overriding getInitParameter() in your WebSocketServlet subclass. We have been able to set ours quite comfortably to 1MB so far on a machine expected to get a few thousand connections and a heap allocation of 6GB.

On 6 Mar 2011, at 00:51, Martin Hewitt wrote:

> Hi all,
> I'm using embedded jetty with cometd WebSockets, and I keep getting
> the following exception:
> java.lang.IllegalStateException: FULL
> 	at org.eclipse.jetty.websocket.WebSocketParser.parseNext(
> 	at org.eclipse.jetty.websocket.WebSocketConnection.handle(
> 	at org.eclipse.jetty.server.nio.BlockingChannelConnector$
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$
> 	at Source)
> This exception causes the WebSocket to be reset, and my connected
> clients get an IOException: Connection reset by peer
> Any help as to how I can handle this, or what I'm doing wrong, would
> be hugely appreciated.
> Thanks,
> Martin
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx




...and, on the seventh day, God switched off his Mac

...and then read

Back to the top