users@grizzly.java.net

Re: CPU issue with Grizzly Comet On GlassFish 9.1.1.

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 28 Sep 2009 11:05:36 -0400

Salut,

Curry wrote:
> Hello Jeanfrancois ,
>
> we are really thankful for your help. We just want to check if we did
> everything right:
>
>
> Jeanfrancois Arcand-2 wrote:
>>
>> Dowload Grizzly 1.0.30 from here:
>>
>> * http://is.gd/3FsOs
>>
>> Then stop GlassFish, edit domain.xmk by adding:
>>
>> <java-config classpath-prefix="grizzly-framework-http-1.0.40.jar" ...
>>
>> This contains the fix for the spinning selector. Let's see if that solve
>> your problem.
>>
>>
>
> We now have this line in domain.xml (we added the upper line, but we changed
> ..40.. to ..30..):
>
> <java-config classpath-suffix=""
> classpath-prefix="grizzly-framework-http-1.0.30.jar" debug-enabled="false"
> debug-options="-Xdebug
> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009"
> env-classpath-ignored="true" java-home="${com.sun.aas.javaRoot}"
> javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated
> -g" system-classpath="">
>
> And we put the grizzly-framework-http-1.0.30.jar to:
>
> /usr/java/glassfish/lib
>
> Is that ok or did we mess something up? Because our CPU is still on 100%...

You need to put the entire path, e.g.:

 
classpath-prefix="/usr/java/glassfish/lib/grizzly-framework-http-1.0.30.jar"

let us know thw result.

A=

-- Jeanfrancois

>
> Thank you for your answer,
>
> Curry