Prateek Gokhale
-
2011-07-07
Hi,
I am referring to a sample java api code given in SDK 4.1 "OVFManagerImportVAppFromUrl.java". I am trying to deploy an ovf using this java code, by giving it the required parameters. I encountered certain issues, which I would like to bring into your notice.
a.) "No network found" : This is caused because it requires networkArr.length > 1. When changed to 0 it works.
b.) Same is the problem, when it tries to find out DataStore.
c) while ((x = fis.read()) != -1) This causes my program to fire a Heap space error, as it tries to read byte by byte, I changed it to > -1.
d.) Connection time out problem.
e. ) While I try to deploy an OVF with 2 disk's it gives me ERROR 500 i.e. server exception.
Please guide me on this.
Prateek