dev@grizzly.java.net

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

From: Schmidt Matthias <schmidtm_at_sun.com>
Date: Mon, 23 Feb 2009 13:29:28 +0100

Hi,

I did a fresh checkout of grizzly (svn 2521) and tried to build it on
Mac OSX 10.5.6 using java 1.5.0_16 and maven 2.0.6.

It fails with this:

> Tests in error:
>
> testHTTPSSimpleAsyncResponse
> (com.sun.grizzly.http.AsyncHTTPResponseTest)
>
> Tests run: 33, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to /src/grizzly/code/modules/http/target/surefire-
> reports for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
>


Here's the file:

> schmidtm_at_kasimir:/src/grizzly/code/modules/http/target/surefire-
> reports $ more com.sun.grizzly.http.AsyncHTTPResponseTest.txt
> -------------------------------------------------------------------------------
> Test set: com.sun.grizzly.http.AsyncHTTPResponseTest
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 5.148 sec <<< FAILURE!
> testHTTPSSimpleAsyncResponse
> (com.sun.grizzly.http.AsyncHTTPResponseTest) Time elapsed: 2.108
> sec <<< ERROR!
> javax.net.ssl.SSLException: Unsupported record version Unknown-0.0
> at
> com
> .sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:
> 375)
> at
> com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360)
> at
> com
> .sun
> .net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:723)
> at
> com
> .sun
> .net
> .ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:680)
> at
> com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:
> 75)
> at
> java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:
> 313)
> at sun.net.www.MeteredStream.read(MeteredStream.java:116)
> at java.io.FilterInputStream.read(FilterInputStream.java:111)
> at sun.net.www.protocol.http.HttpURLConnection
> $HttpInputStream.read(HttpURLConnection.java:2196)
> at
> com
> .sun
> .grizzly
> .http
> .AsyncHTTPResponseTest
> .testHTTPSSimpleAsyncResponse(AsyncHTTPResponseTest.java:155)
>


Can you guys give me a helping hand here?

cheers,

Matthias


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