HI,
I modified the sample java program to create a VM in F:\ drive and added couple parameters to accept directory from the properties file instead of saving the converted VM to vCenter. However, I get error saying it cannot recognize the configuration file. Anyone can help on this error? Thank you
Error from the sample program:
AxisFault
faultCode: ServerFaultCode
faultSubcode:
faultString: The source configuration file is invalid, corrupted or not recogni
zed.
faultActor:
faultNode:
faultDetail:
{urn:converter}ConverterImportSourceInvalidConfigInfoFault:<source>F:\VM
Image\VM1\WIN-PC</source>
The source configuration file is invalid, corrupted or not recognized.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer
.java:104)
My properties file looks like this:
physicalsource.address=192.168.1.121
physicalsource.username=192.168.1.121\\administrator
physicalsource.password=**********
physicalsource.ostype=windowsOs
physicalsource.agentport=9089
physicalsource.reboot=false
vcserver.address=WIN-PC
vcserver.targetname=WIN-PC
vcserver.username=192.168.1.121\\administrator
vcserver.password=**********
vcserver.directory=F:\\VMImage
conversion.job.name=P2VSDKJob1
conversion.job.description=This is a Live Windows P2V job from SDK
conversion.vmtocreate.name=VM1
conversion.vmtocreate.vcpu=1
conversion.vmtocreate.memory=512
converterserver.address=192.168.1.121
converterserver.username=WIN-PC\\administrator
converterserver.password=*********
Thank you.
ETgoh