dev@grizzly.java.net

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

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 25 Feb 2009 11:19:55 -0500

Salut,

The problem was because JAXB was missing with JDK 5:

> Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
> at com.sun.jersey.server.impl.model.parameter.multivalued.JAXBStringReaderProviders.<init>(JAXBStringReaderProviders.java:80)
> at com.sun.jersey.server.impl.model.parameter.multivalued.JAXBStringReaderProviders$RootElementProvider.<init>(JAXBStringReaderProviders.java:121)

Good catch! Fixed by now.

A+

- Jeanfrancois

Matthias Schmidt wrote:
> Salut JF,
>
> I'm running on Mac OSX 10.5.6/java 1.5.0_16/mvn 2.0.9
>
> au revoir,
>
> Matthias
>
> Am 25.02.2009 um 16:34 schrieb Jeanfrancois Arcand:
>
>> Salut,
>>
>> Matthias Schmidt wrote:
>>>> 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 ...
>>
>> What platform are you using? I will try to fix the issue.
>>
>> A+
>>
>> --Jeanfrancois
>>
>>
>>> 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
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>