Quantcast
Channel: VMware Communities : Discussion List - VMware vCloud SDK for Java
Browsing index pages (144 articles)

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

VM 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 Article


Error 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 Article

Renaming 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 Article

How 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 Article


The 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 Article

how 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 Article

Best 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 Article


what 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 Article


What 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 Article

Redefining 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 Article

ssoLogin 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 Article

java 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 Article


Adding 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 Article

vCloud 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 Article


VappTemplate 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 Article

Organization 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 Article


Unmarshaller 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 Article

SDK 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 Article

How 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
Browsing index pages (144 articles)


Latest Images