Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all articles
Browse latest Browse all 24426

What is default value of Vcenter Session Timeout and Vcenter Connection Timeout?

$
0
0

Hi All,

            What is default value of Vcenter Session Timeout and Vcenter Connection Timeout? How can I set some value for it in my Java Code ?

 

Right now, I have done 

                                   javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");

                                   javax.net.ssl.SSLSessionContext sslsc = sc.getServerSessionContext();

                                   sslsc.setSessionTimeout(0);           i.e set session timeout as infinite. But I haven't set any connection timeout. So, in my code when I call sessionIsActive() method it says session is active. But still, I am getting WebServiceException() when I call any vmware api. So, I suspect that the connection is getting terminated after the default time. Please let me know the default value of Vcenter Session Timeout and Vcenter Connection Timeout and the way to set the connection timeout value.


Viewing all articles
Browse latest Browse all 24426

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>