>>
Sorry, but when i do the test for the patch that you submit for the
maxtherads problem
i have do some error :D
///test
public static void main(String args[]) {
GrizzlyWebServer a = new GrizzlyWebServer(8080, 40,"/Users/ramarama/
html");
a.getSelectorThread().enableMonitoring();
a.getSelectorThread().setDisplayConfiguration(true);
try {
a.start();
} catch (IOException e) {
}
}
//output
Grizzly configuration for port 8080
Thread Pool: StatsThreadPool[name=http, priority=5, min-threads=5,
max-threads=5, max-queue-size=2147483647, initial-byte-buffer-
size=8192, byte-buffer-type=HEAP_VIEW, is-shutdown=false, port=8080]
ByteBuffer size: 8192
maxHttpHeaderSize: 8192
maxKeepAliveRequests: 256
keepAliveTimeoutInSeconds: 30
Static File Cache enabled: true
Static resources directory: /Users/ramarama/workspace/webserver
Adapter : com.sun.grizzly.tcp.http11.GrizzlyAdapterChain
Asynchronous Request Processing enabled: false
Sorry for the wrong test :(
as you can see, max and min threads are 5 and not 40 :)
best regards
ps: i am still trying to make a test case for asyncwrite, but i am
not able to reproduce it in a straight way :8
>> 1) i use this constructor
>>
>> *****
>> public GrizzlyWebServer(int port, int maxThreads, String
>> webResourcesPath,
>> boolean secure) {
>> createSelectorThread(port, maxThreads, secure);
>> this.webResourcesPath = webResourcesPath;
>> }
>> *****