Quantcast
Channel: VMware Communities: Message List - vSphere Management SDK
Browsing all 2052 articles
Browse latest View live

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

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

View Article


Re: retrievePropertiesEx() is throwing an Exception:...

Right now, I have done                                     javax.net.ssl.SSLContext sc = javax.net.ssl.SSLContext.getInstance("SSL");                                   javax.net.ssl.SSLSessionContext...

View Article


Re: retrievePropertiesEx() is throwing an Exception:...

The socket timeout is on the server side, so you have to make some call within that period to keep it active.  The session is still valid, but the socket was closed by the server.  You can call...

View Article

Re: Personality

If you're on vSphere 5.x or later, you can use GuestOperationsManager to copy file and run processes in guest.  Best part of this API call, is it uses the VMware Tools and can be done even with the VM...

View Article

Re: Personality

We have a generic template we´re cloning. Then we want to inject personality files (text files) onto the new machine. Do you have to wait until the cloning is done, or can you inject it while its...

View Article


Re: Defining Custom Events in vCenter for a plugin

Hi Cathy, Did you find the solution to this problem, actually i am also trying to create custom event, alarm using vSphere WS SDK. Regards,Vaibhav

View Article

HTTP download - 500 internal server

Hello Experts, From IE, we are trying to download the vmx file and we are getting the "HTTP 1.1 500 Internal Server error".https://vCenter/folder/vm1/vm1.vmx?dcPath=DCenter&dsName=DataStore1 What...

View Article

Re: What is default value of Vcenter Session Timeout and Vcenter Connection...

Default idle session timeout - 30minVMware KB: Connecting to vCenter Server using the vSphere Client fails

View Article


Re: Custom events not formatting correctly with WSSDK 5.1

Hi,Were you able to solve this problem? I can see this issue as well with 5.1 WSSDK. -Vaibhav

View Article


Re: Custom events not formatting correctly with WSSDK 5.1

No, unfortuately, my question was never answered

View Article

Re: vSphere API: Can't get correct Cluster performance statistics

I found out what was going on. I was asking ClusterComputeResource's resourcePool, and not ClusterComputeResource directly. Once I asked the ClusterComputeResource directly, I had access to all the...

View Article

Getting SOAPFaultException while using retrievePropertiesEx( ) method

I have some problem while using retrievePropertiesEx() method to retrieve properties.               I am getting  the following SOAPFaultException while retrieving properties using PropertyCollector...

View Article

Re: retrievePropertiesEx() is throwing an Exception:...

     Hi,                         I have some problem while using retrievePropertiesEx() method to retrieve properties.               I am getting  the following SOAPFaultException while retrieving...

View Article


Re: What is default value of Vcenter Session Timeout and Vcenter Connection...

Hi,                        I have some problem while using retrievePropertiesEx() method to retrieve properties.               I am getting  the following SOAPFaultException while retrieving...

View Article

storage policy sample program won't run

Hi, I'm trying to run the VM storage policy Java sample in vSphere 5.5 I set the JRE that was installed by VMware at "C:\Progra~1\VMware\jre" java -version java version "1.7.0_10" Java(TM) SE Runtime...

View Article


Re: Getting SOAPFaultException while using retrievePropertiesEx( ) method

Generally you see that when the PropertyCollector you created is destroyed, or you attempt to use a PropertyCollector from another session.  Non-default session PropertyCollectors have a generated UUID...

View Article

Re: Getting SOAPFaultException while using retrievePropertiesEx( ) method

Here, resetting the connection I mean disconnecting from vcenter (vimPort_.logout(serviceContent_.getSessionManager());)  and then reconnecting(vimPort_.login( serviceContent_.getSessionManager(),...

View Article


Re: Getting SOAPFaultException while using retrievePropertiesEx( ) method

There is a default session property collector you can use.  With create, you are using a new, session-specific property collector. I wonder if you have some timing issues.  Is the code multi-threaded...

View Article

Re: why do ip address of virtual machine is null?

Hi William, Virtual machine IP address is available when VMware Tools is installed and virtual machine guest is running. If guest is not running or virtual machine is powered off, the IP address is...

View Article

Re: why do ip address of virtual machine is null?

Probably cached from $vm->guest->net->ipAddress.  The inventory service may also be holding onto old values as well.  Though I do remember in the past seeing some ipAddress info in one place...

View Article
Browsing all 2052 articles
Browse latest View live


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