users@grizzly.java.net

StaticHttpHandler

From: Yves Gaffinet <yves_at_gaffinet.lu>
Date: Tue, 6 Mar 2012 17:24:01 +0100

Dear all

I'm new with the grizzly framework but I already realize some small
"helloworlds"

But I have a problem with the StaticHttpHandler.

When I try to serve some static files, I get this exception:
org.glassfish.grizzly.PendingWriteQueueLimitExceededException: Max queued
data limit exceeded: 32879>32768

This is how i use the handler:

server.getServerConfiguration().addHttpHandler(new
StaticHttpHandler("C:\\maps"), "/map");

Thanks for your help

Yves