dev@grizzly.java.net

Re: still some help for grizzlywebserver

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 12 Jan 2009 18:02:32 +0100

Should be fixed.

Thanks.

WBR,
Alexey.

On Jan 9, 2009, at 19:10 , rama wrote:

>>>
>
> 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;
>>> }
>>> *****
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>