Cloud-VMWare plugin fails to load

Cloud VmWare plugin fails to load with the following error:


c:\VmWareClient>java -jar "C:\VmWareClient\cloud-vmware-client.jar" /server:tc1:
8080 /vmrun:"C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe" /store:C:\VmWar
eClient\images /maxInstances:50
Loading libraries from: C:\VmWareClient\lib
Looking for images from: C:\VmWareClient\images
Connecting to TeamCity server at: tc1:8080
Will use VMWare VIX from: C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe

main method of agent class jetbrains.buildServer.clouds.vmware.client.Main has f
ailed. null
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at jetbrains.buildServer.clouds.vmware.client.CPMain.main(CPMain.java:44
)
Caused by: java.lang.RuntimeException: unknown protocol: tc1
        at jetbrains.buildServer.xmlrpc.XmlRpcFactory.createHttpClientBasedTarge
t(XmlRpcFactory.java:47)
        at jetbrains.buildServer.xmlrpc.XmlRpcFactory.create(XmlRpcFactory.java:
65)
        at jetbrains.buildServer.clouds.vmware.vmrun.remote.xmlrpc.XmRpcClient.<
init>(XmRpcClient.java:41)
        at jetbrains.buildServer.clouds.vmware.client.Main.main(Main.java:59)
        ... 5 more



I am using:
Machine that runs the VMPlayer is Windows Server 2008 R2 Standard SP1
VmWare Player 4.0.6. build 1035888
TeamCity 8.0.4 build 27616
VMWare VIX 8.0.2 build 591240


Any idea what's wrong?



T



Attachment(s):
cloudVmwareConsoleError.jpg
1 comment
Comment actions Permalink

After fixing my command line to include the "http://" in the server parameter the Cloud VmWare client started:
TcWmWareScreenshot.jpg

But then the following error appeared in the running console of Cloud VmWare plugin:

com.thoughtworks.xstream.converters.ConversionException: TreeMap does not contai
n <comparator> element
---- Debugging information ----
class               : java.util.TreeMap
required-type       : java.util.TreeMap
converter-type      : com.thoughtworks.xstream.converters.collections.TreeMapCon
verter
path                : /jetbrains.buildServer.clouds.vmware.vmrun.remote.RemoteTa
sk/myParameters/jetbrains.buildServer.clouds.CloudInstanceUserData/myCustomAgent
ConfigurationParameters/entry
line number         : 24
class[1]            : jetbrains.buildServer.clouds.CloudInstanceUserData
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionC
onverter
class[2]            : [Ljava.lang.Object;
converter-type[2]   : com.thoughtworks.xstream.converters.collections.ArrayConve
rter
class[3]            : jetbrains.buildServer.clouds.vmware.vmrun.remote.RemoteTas
k
version             : 21348
-------------------------------
        at com.thoughtworks.xstream.converters.collections.TreeMapConverter.unma
rshalComparator(TreeMapConverter.java:105)
        at com.thoughtworks.xstream.converters.collections.TreeMapConverter.unma
rshal(TreeMapConverter.java:87)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshall
er.java:72)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(A
bstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:66)
        at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv
erter.unmarshallField(AbstractReflectionConverter.java:294)
        at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv
erter.doUnmarshal(AbstractReflectionConverter.java:266)
        at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv
erter.unmarshal(AbstractReflectionConverter.java:194)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshall
er.java:72)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(A
bstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:66)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:50)
        at com.thoughtworks.xstream.converters.collections.AbstractCollectionCon
verter.readItem(AbstractCollectionConverter.java:71)
        at com.thoughtworks.xstream.converters.collections.ArrayConverter.unmars
hal(ArrayConverter.java:55)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshall
er.java:72)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(A
bstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:66)
        at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv
erter.unmarshallField(AbstractReflectionConverter.java:294)
        at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv
erter.doUnmarshal(AbstractReflectionConverter.java:266)
        at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv
erter.unmarshal(AbstractReflectionConverter.java:194)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshall
er.java:72)
        at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(A
bstractReferenceUnmarshaller.java:63)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:66)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:50)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller
.java:134)
        at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarsh
al(AbstractTreeMarshallingStrategy.java:32)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:974)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:958)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:892)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:883)
        at jetbrains.buildServer.clouds.vmware.vmrun.remote.xmlrpc.XmRpcClient.g
etTasks(XmRpcClient.java:51)
        at jetbrains.buildServer.clouds.vmware.vmrun.remote.client.Client$1.run(
Client.java:56)
        at jetbrains.buildServer.util.ExceptionUtil$1.run(ExceptionUtil.java:37)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$301(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Any idea on how to proceed?



Attachment(s):
TcWmWareScreenshot.jpg
0

Please sign in to leave a comment.