dev@glassfish.java.net

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

From: Ed Burns <ed.burns_at_sun.com>
Date: Tue, 24 Aug 2010 13:28:54 -0700

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

>> 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?

BB> 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.

Thanks. I'll see your Python script and raise you a perl script
<http://pastebin.com/Nswrwsxd>.

Ed

-- 
| ed.burns_at_sun.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/
| 17 work days until JavaOne 2010