On the problem of VM vSphere Sdk!
In VM vSphere Sdk, if I want to open the console, which *.java is he likely to be in?
View ArticleVM in Vapps with unique IP: How to do it?
I am creating vApp from vApp Template using Java. Each of the vApp has 2 Vm(Vm1 and Vm2). i.e. vApp1-> (Vm1 & Vm2) & vApp2-> (Vm1 & Vm2). But when ever I clone I see that the Vm1 in...
View ArticleError during initiateFileTransferFromGuest
I'm getting javax.xml.ws.soap.SOAPFaultException: The object has already been deleted or has not been completely createdwhen I try to executevimPortType.initiateFileTransferFromGuest Could someone help...
View ArticleRenaming a Vapp template in a catalog
Hello, I'm trying to rename a vApp template in that is stored in a Catalog. It ran fine but when I went to the VCloud director UI, the catalog name did not properly reflect that. Am I missing something...
View ArticleHow to renew the lease of a VApp in VCloud director 5.1 Java API?
So I'm writing a java service that will use the VCloudDirector API to extend the storage life of a Vapp. How the method that I need VappTemplate.updateSection() is deprecated. Why is it deprecated and...
View ArticleThe guest operations agent could not be contacted
I tried to read an environment variable from the guest using Java API and got : Caused by: javax.xml.ws.soap.SOAPFaultException: The guest operations agent could not be contacted.at...
View Articlehow to change a disk size
I nead to programaticly adjust a disk size via java vCloud api... how can I do that if I use thic sode it gives me errors like com.vmware.vcloud.sdk.VCloudException: Not a Hard Disk - SCSI Controller 0...
View ArticleBest practice for the client app to maintain session information across...
Hi all, I am new to using VCD Java SDK API so this might be an easy one and I just haven't found the answer in the API docs and forums. To provide some context to my question, I will briefly describe...
View Articlewhat is vSphere SDK for Java versus VCloud SDK for Java?
Hi: I'm new to VMware and after reading the API overview , I still haven't "got it" since its confusing as to its intended usage. Q1: What is vSphere versus vCloud API and what usage they were...
View ArticleWhat exactly does the compute capacity's Limit field map to ?
I am provisioning an Org VDC using the Java SDK. Code Snippet 1, below shows the allocation being set to "2048 MB" and limit is set to "4048 MB". Shown in Code Snippet 2, the guarantees are set to 0.5....
View ArticleRedefining network settings when creating vApp from template
I need some assistance with redefining Network settings on vApp instantiation.I want to able able to change the network that is defined in a vApp Template when I deploy a vApp from it. For instance, if...
View ArticlessoLogin w/ samlAssertion from idp fails: Signature is not trusted or invalid...
I am attempting to login via the java sdk ssoLogin() with a samlassertion from an openam idp. The result is a signature validation exception. I must be missing some trust configuration, but where?...
View Articlejava sdk vcloudclient ssoLogin() w/ samlassertion
Hi all, I have an issue attempting to perform an ssoLogin. Please see: https://communities.vmware.com/message/2276630 Thank you!
View ArticleAdding more than 15 disks to a VM fails
Hi, I'm attempting to attach disks to a blank VM. I can add up to 16 disks just fine, but adding any more returns the vSphere error "The device '0' is referring to a nonexisting controller '1,001". I...
View ArticlevCloud Director vApp hot clone doesn't work with the Java API
Hello, We have an important use case in vCD 5.1.2 to clone/copy a fenced vApp without shutdown the vApp.It is not possible from the GUI, that's why we are trying to handle it from the Java API.We tried...
View ArticleVappTemplate uploadFile(String fileName, InputStream is, long startByte, long...
Hi, I'm trying to use the uploadFile() API in the VappTemplate class to upload large VMDK files in chunks so I can determine and report upload progress over the entire upload time using...
View ArticleOrganization network cannot be deleted, because it is in use ?
Using vCD 5.1 and having difficulty deleting the organization network after deleting the vApp that was using it. Code snippet below. Why would this happen if using the waitForTask(0)? Thanks for your...
View ArticleUnmarshaller exception with the vCloud SDK for Java
Hi, I'm trying to use the vCloud SDK within Spring.When calling the login method (with the appropriate username and password strings) from a vCloudClient object, I got the following...
View ArticleSDK returns StorageCapacity null
I'm using Java SDK to access VMWare VCoud Director. I need same data from the VDC's (CPU used, CPU limit, memory used, etc.). I've no problem with all data except "storage capacity" which is always...
View ArticleHow to get the groups a user is in
I am trying to get all the groups that a specific user is a member of. I am trying the following: ReferenceType newUserReference = getCommandSession().getUserReferenceByName("user"); //method that gets...
View Article