Hi,
I just gave 1.9.17-RC1 a quick go and encountered an error (see below)
when running some Jersey tests (for the Jersey client Apache module).
A slightly different error occurs with the helloworld sample.
Interestingly other Grizzly-based tests for another module (jersey-
spring) works fine.
Then i tried 1.9.17-SNAPSHOT and 1.9.18-SNAPSHOT, and there are no
failures.
Paul.
Running com.sun.jersey.client.apache.impl.GZIPContentEncodingTest
Jul 16, 2009 3:33:09 PM
com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.2-ea-
SNAPSHOT 07/16/2009 03:30 PM'
Starting GrizzlyServer port number = 9997
Started GrizzlyServer
Jul 16, 2009 3:33:11 PM com.sun.grizzly.SelectorHandlerRunner
handleSelectException
SEVERE: doSelect exception
java.lang.NoSuchMethodError:
com.sun.grizzly.ContextTask.setContext(Lcom/sun/grizzly/NIOContext;)V
at com.sun.grizzly.NIOContext.execute(NIOContext.java:505)
at
com
.sun
.grizzly
.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:357)
at
com
.sun
.grizzly
.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:
257)
at
com
.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:
194)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:
129)
at com.sun.grizzly.util.FixedThreadPool
$BasicWorker.dowork(FixedThreadPool.java:379)
at com.sun.grizzly.util.FixedThreadPool
$BasicWorker.run(FixedThreadPool.java:360)
at java.lang.Thread.run(Thread.java:637)
Jul 16, 2009 3:33:11 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception
(org.apache.commons.httpclient.NoHttpResponseException) caught when
processing request: The server localhost failed to respond
Jul 16, 2009 3:33:11 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 16, 2009 3:33:11 PM com.sun.grizzly.SelectorHandlerRunner
handleSelectException
SEVERE: doSelect exception
java.lang.NoSuchMethodError:
com.sun.grizzly.ContextTask.setContext(Lcom/sun/grizzly/NIOContext;)V
at com.sun.grizzly.NIOContext.execute(NIOContext.java:505)
at
com
.sun
.grizzly
.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:357)
at
com
.sun
.grizzly
.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:
257)
at
com
.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:
194)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:
129)
at com.sun.grizzly.util.FixedThreadPool
$BasicWorker.dowork(FixedThreadPool.java:379)
at com.sun.grizzly.util.FixedThreadPool
$BasicWorker.run(FixedThreadPool.java:360)
at java.lang.Thread.run(Thread.java:637)
Jul 16, 2009 3:33:11 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception
(org.apache.commons.httpclient.NoHttpResponseException) caught when
processing request: The server localhost failed to respond
Jul 16, 2009 3:33:11 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 16, 2009 3:33:11 PM com.sun.grizzly.SelectorHandlerRunner
handleSelectException
SEVERE: doSelect exception
java.lang.NoSuchMethodError:
com.sun.grizzly.ContextTask.setContext(Lcom/sun/grizzly/NIOContext;)V
at com.sun.grizzly.NIOContext.execute(NIOContext.java:505)
at
com
.sun
.grizzly
.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:357)
at
com
.sun
.grizzly
.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:
257)
at
com
.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:
194)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:
129)
at com.sun.grizzly.util.FixedThreadPool
$BasicWorker.dowork(FixedThreadPool.java:379)
at com.sun.grizzly.util.FixedThreadPool
$BasicWorker.run(FixedThreadPool.java:360)
at java.lang.Thread.run(Thread.java:637)
Jul 16, 2009 3:33:11 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception
(org.apache.commons.httpclient.NoHttpResponseException) caught when
processing request: The server localhost failed to respond
Jul 16, 2009 3:33:11 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jul 16, 2009 3:33:13 PM com.sun.grizzly.SelectorHandlerRunner
handleSelectException
SEVERE: doSelect exception
java.lang.NoSuchMethodError:
com.sun.grizzly.ContextTask.setContext(Lcom/sun/grizzly/NIOContext;)V
at com.sun.grizzly.NIOContext.execute(NIOContext.java:505)
at
com
.sun
.grizzly
.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:357)
at
com
.sun
.grizzly
.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:
257)
at
com
.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:
194)
at
com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:
129)
at com.sun.grizzly.util.FixedThreadPool
$BasicWorker.dowork(FixedThreadPool.java:379)
at com.sun.grizzly.util.FixedThreadPool
$BasicWorker.run(FixedThreadPool.java:360)
at java.lang.Thread.run(Thread.java:637)