Configuring URL Connection timeouts in OpenSSO

OpenSSO server uses HTTP(S) to send change notifications to other servers and also to remote clients that have registered for changes. The implementation uses java.net.URLConnection, a common issue faced with it was the extraordinarily long read timeout when receiving end was not alive. Luckily J2SE 5.0 provides a solution by exposing a method setReadTimeout. OpenSSO uses this method to set the timeout and the configuration parameter that must be set correctly in OpenSSO: com.sun.identity.url.readTimeout This property could be set as an Advanced property in "Servers and Sites" Configuration tab and the value should be in milliseconds.
Comments:

The property does not always work:
https://opensso.dev.java.net/issues/show_bug.cgi?id=5362

Posted by Dmitry on August 03, 2009 at 08:47 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

aravind

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today