dev@glassfish.java.net

Re: hudson, svn update, java.net.SocketException: Connection reset

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Tue, 24 Aug 2010 11:11:08 -0400

> I'm trying to have a hudson job that builds GF from source in my local
> workspace overnight so that when I show up in the morning it's ready to
> be productively developed. However, I frequently come in to find the
> build failed, as this one did:
>
> http://adc2110030.us.oracle.com:7070/hudson/job/glassfish-1HEAD/18/console
>
> Caused by: java.net.SocketException: Connection reset
> at java.net.SocketInputStream.read(SocketInputStream.java:168)
> at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
> at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
> at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
>
> Is there any remedy to this?

I'm getting a 404 on the link, so I can't tell if this error is occurring during checkout or build. However, I have a script already that will check out for you (no matter how many svn errors there are) and build. You could just kick it off in a cron job and, as long as the workspace compiles, it'll be ready for you in the morning. I sent it out a couple days ago, but can send it to you again if you'd like. It's platform-independent.

Cheers,
Bobby