Friday Jul 11, 2008

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

aravind

Search

Categories
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