dev@grizzly.java.net

Re: Re: Grizzly trunk build fails in com.sun.grizzly.http.AsyncHTTPResponseTest: javax.net.ssl.SSLException: Unsupported record version Unknown-0.0

From: Matthias Schmidt <schmidtm_at_sun.com>
Date: Wed, 25 Feb 2009 11:23:05 +0100

> You're right, I was also able to reproduce this... It should be
> fixed now.
> Thanks.
> WBR, Alexey.

Hi Alexey - thanks for fixing this! This issue is gone.

Alas, I'm still unable to build. With revision 2541 i get:

> SCHWERWIEGEND: Exception during starting the controller
> java.net.BindException: Address already in use:
> 18901=com.sun.grizzly.http.SelectorThreadHandler_at_a9f827
> at
> com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:
> 355)
> at com.sun.grizzly.Controller.doSelect(Controller.java:348)
> at
> com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:
> 82)
> at
> com
> .sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:
> 1144)
> at com.sun.grizzly.Controller.start(Controller.java:951)
> at
> com
> .sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:
> 1161)
> at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
> at java.lang.Thread.run(Thread.java:613)
> 25.02.2009 11:02:06 com.sun.grizzly.Controller handleSelectException
> SCHWERWIEGEND: doSelect exception
> java.net.BindException: Address already in use:
> 18901=com.sun.grizzly.http.SelectorThreadHandler_at_a9f827
> at
> com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:
> 355)
> at com.sun.grizzly.Controller.doSelect(Controller.java:348)
> at
> com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:
> 82)
> at
> com
> .sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:
> 1144)
> at com.sun.grizzly.Controller.start(Controller.java:951)
> at
> com
> .sun.grizzly.http.SelectorThread.startListener(SelectorThread.java:
> 1161)
> at com.sun.grizzly.http.SelectorThread.run(SelectorThread.java:1012)
> at java.lang.Thread.run(Thread.java:613)
> Ha got you this time.
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 2.096 sec
>
> Results :
>
> Tests in error:
> testApplicationWadl(filter.JerserServletAdapterNoServletTest)
>
> Tests run: 14, Failures: 0, Errors: 1, Skipped: 0
>

But # 18901 isn't used on my box whatsoever:

# netstat -an |grep 18901
#


> -------------------------------------------------------------------------------
> Test set: filter.JerserServletAdapterNoServletTest
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 1.579 sec <<< FAILURE!
> testApplicationWadl(filter.JerserServletAdapterNoServletTest) Time
> elapsed: 1.571 sec <<< ERROR!
> com.sun.jersey.api.client.UniformInterfaceException: GET http://localhost:9998/application.wadl
> returned a response status of 404
> at
> com.sun.jersey.api.client.WebResource.handle(WebResource.java:563)
> at com.sun.jersey.api.client.WebResource.access
> $300(WebResource.java:69)
> at com.sun.jersey.api.client.WebResource
> $Builder.get(WebResource.java:451)
> at
> filter
> .JerserServletAdapterNoServletTest
> .testApplicationWadl(JerserServletAdapterNoServletTest.java:88)
>


There might be some race-conditions in the tests which only show up on
my box ...

cheers,

Matthias

Matthias Schmidt Tel: (++49) 6227 356 236
Sun Microsystems GmbH Fax: (++49) 6227 356 222
Altrottstr. 31 Mobil: (++49) 171 5767209
D-69190 Walldorf ICQ: 435738815