adaptives's Posts

Does VMWare publish the sources of the vCloud Java SDK ? If they do, can you please point me to them. -- Thanks Parag
I have a simple piece of code which logs in as administrator and creates and organization. It runs perfectly well when I run it as standalone code, but it gives me an "unauthorized" error when I ... See more...
I have a simple piece of code which logs in as administrator and creates and organization. It runs perfectly well when I run it as standalone code, but it gives me an "unauthorized" error when I run it in an OSGI container (Virgo). The strange thing is there are no logs from httpclient, which seems to tell me that there was an exception (most likely a classloading issue) which was somehow reported as an authorization problem. Here is the stack trace of the lines relevant to vCloud com.vmware.vcloud.sdk.exception.UnauthorizedAccessException: Unauthorized     at com.vmware.vcloud.sdk.RestUtil.login(RestUtil.java:296)     at com.vmware.vcloud.sdk.VcloudClient.login(VcloudClient.java:321) Does  anyone have thoughts on how this issue can be debugged ? Does VMWare publish the sources of the Java SDK ? -- Thanks Parag
I am using the VCloud Java SDK from an OSGI web application running in the Virgo Server. I have hot a strange problem where I am able to login from a regular Java process, but the same code when ... See more...
I am using the VCloud Java SDK from an OSGI web application running in the Virgo Server. I have hot a strange problem where I am able to login from a regular Java process, but the same code when executed from the web application, gives me an "unauthorized error" I am sure it's a classloading issue, but having a hard time figuring out what it is without the VCloud Java SDK sources. Here's the stack trace: com.vmware.vcloud.sdk.exception.UnauthorizedAccessException: Unauthorized     at com.vmware.vcloud.sdk.RestUtil.login(RestUtil.java:296)     at com.vmware.vcloud.sdk.VcloudClient.login(VcloudClient.java:321) I have set VcloudClient's log level to 'finest', but I don't see anything relevant. Is there any way I can see the actual REST request body that is made to the VCD server ? Has anyone come across a similar issue ? -- Thanks Parag