Re: WOWebServicesClient constructor hangs entire app
Re: WOWebServicesClient constructor hangs entire app
- Subject: Re: WOWebServicesClient constructor hangs entire app
- From: Ramsey Gurley <email@hidden>
- Date: Tue, 17 Mar 2009 14:05:29 -0400
On Mar 16, 2009, at 6:44 PM, Ramsey Gurley wrote:
On Mar 16, 2009, at 5:56 PM, Mike Schrag wrote:
-Djava.net.connectiontimeout=2
yes .. There are some other settings, too:
-Dsun.net.client.defaultConnectTimeout=15000
-Dsun.net.client.defaultReadTimeout=15000
I don't know how these relate to "java.net.connectiontimeout" --
maybe that's a newer nicer way to set these. Those particular
values are used when you do a URLConnection to something. I'd love
to push in the mud whomever inside Sun thought that an infinite
connection timeout made sense.
ms
No luck I'm afraid. Trying those two only (without -
Djava.net.connectiontimeout) hangs consistently every time. Trying
with the Djava.net.connectiontimeout and I still get sporadic
hanging :-/
Ramsey
After removing my threading it seems to work fine with just the -
Djava.net.connectiontimeout=30 everytime (so far!). Perhaps I botched
the usage of Executors or maybe it's a timing thing since I'm trying
to connect to the same box I'm serving on for testing... either way, I
think I'll add this little bit of info to the wiki (^_^)
Thank you for the assistance Mike
Ramsey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden