On 25-02-10 18:37, Chris Mannion wrote:
Very helpful advice. I can't help but feel a little out of my depth
with this one :-\
Hi Chris,
You may want to check if your JVM is started with one of the following
options:
-Dsun.net.client.defaultConnectTimeout=
-Dsun.net.client.defaultReadTim
Thanks Chris,
Very helpful advice. I can't help but feel a little out of my depth
with this one :-\
On 19 February 2010 16:46, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chris,
>
> On 2/19/2010 11:08 AM, Chris Mannion wrote:
>> Thank, genuinely, for the res
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
On 2/19/2010 11:08 AM, Chris Mannion wrote:
> Thank, genuinely, for the responses, I've learned how I *could* set a
> timeout, which I didn't know before. However, what I'm actually
> trying to get to the bottom of is what timeout could be in
-BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chuck,
>
> On 2/12/2010 10:46 AM, Caldarale, Charles R wrote:
>>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>>> Subject: Re: What governs a URL connection timeout?
>>>
>>> It'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 2/12/2010 10:46 AM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: What governs a URL connection timeout?
>>
>> It's possible that (the other) Chri
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: What governs a URL connection timeout?
>
> It's possible that (the other) Chris is using a library
The OP already posted the code of interest, and it would be simple to modify it
to set an appropri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
On 2/12/2010 7:34 AM, Peter Crowther wrote:
> Chris, did you actually read the link or was that a knee-jerk
> response? Notably the following, taken from between the first and
> second boxed pieces of code on that page:
>
> "The openStream()
Chris, did you actually read the link or was that a knee-jerk
response? Notably the following, taken from between the first and
second boxed pieces of code on that page:
"The openStream() method is actually just a shortcut for
openConnection().getInputStream()."
... plus the source of openStream(
Thanks Peter but we're not using a URLConnection, nor are we
explicitly setting any timeouts, as you can see from the code.
On 12 February 2010 12:06, Peter Crowther wrote:
> A swift Google for:
> java url openStream timeout
> reveals:
> http://stuffthathappens.com/blog/2007/09/10/urlopenstream
A swift Google for:
java url openStream timeout
reveals:
http://stuffthathappens.com/blog/2007/09/10/urlopenstream-might-leave-you-hanging/
as its first hit.
In essence: the timeout is controlled by setTimeout on UrlConnection.
On 12 February 2010 11:59, Chris Mannion wrote:
> Hi all
>
> Ho
10 matches
Mail list logo