Hiya, 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(WebSocketParser.java:91) > at > org.eclipse.jetty.websocket.WebSocketConnection.handle(WebSocketConnection.java:176) > at > org.eclipse.jetty.server.nio.BlockingChannelConnector$ConnectorEndPoint.run(BlockingChannelConnector.java:179) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) > at java.lang.Thread.run(Unknown 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 > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users Cheers, Andre -- ...and, on the seventh day, God switched off his Mac ...and then read http://www.prfsa.com _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
