VMware {code} Community
kalp1
Contributor
Contributor

Issues with dev environment for web client plugin development

Hi,

I am trying to setup a dev environment to create web client plugin. I am using 5.5U2, STS 3.7.0. Created an instance of Virgo server, configured with the client properties to include the ls.url and thumbprint pointing to the vCenter server.

1)  When I start the server, I see an error with the com.vmware.mks.console bundle:

[2015-09-10 16:41:01.523] [INFO ]  TCP Connection(4)-127.0.0.1  <DE0000I> Installing bundle 'com.vmware.mks.console' version '5.5.0'.

[2015-09-10 16:41:01.704] [INFO ]  TCP Connection(4)-127.0.0.1  <DE0001I> Installed bundle 'com.vmware.mks.console' version '5.5.0'.

[2015-09-10 16:41:01.737] [INFO ]  TCP Connection(4)-127.0.0.1  <DE0004I> Starting bundle 'com.vmware.mks.console' version '5.5.0'.

[2015-09-10 16:41:01.776] [INFO ]  TCP Connection(4)-127.0.0.1  <DE0010I> Stopping bundle 'com.vmware.mks.console' version '5.5.0'.

[2015-09-10 16:41:01.780] [INFO ]  TCP Connection(4)-127.0.0.1  <DE0011I> Stopped bundle 'com.vmware.mks.console' version '5.5.0'.

[2015-09-10 16:41:01.789] [ERROR] start-signalling-2            <DE0006E> Start failed for bundle 'com.vmware.mks.console' version '5.5.0'. java.lang.RuntimeException: Bundle 'com.vmware.mks.console_5.5.0 [243]' stopped

and continues with a whole bunch of errors.

If I use 5.5U1 SDK, then I don't see this error and the bundle shows as started.

How do I resolve this?

2) Trying to deploy the sample hello world plugin does not work. It shows deployed in the console but does not show up in the web client.

Any help with resolving this is greatly appreciated.

Thanks!

kp

Tags (1)
2 Replies
mikemayors
Enthusiast
Enthusiast

Hi all,

I am also hitting this.  I'm running STS 3.5.1 on OSX with Java 7 as my runtime environment for the 5.5 virgo server instance.  When I start the server from the command line using the startup.sh script everything loads fine.  Any pointers or guidance?  Thanks much in advance

- Mike

Reply
0 Kudos
_vladi_
VMware Employee
VMware Employee

Hi Mike,

Supported versions for Virgo tooling are Eclipse 4.2 (Juno) and 4.3 (Kepler) so STS 3.5.1 should be fine - unlike STS 3.7.0 mentioned by kalp1 above which is based on Eclipse 4.5 (Mars).

As for Java 7, you can use it but you should set Java compiler option: -target 1.6. This is required because with this version of the SDK there are platform libraries which are still compiled with Java 6. For more info on this please check vsphere-client-sdk/docs/SDK-Setup.html, section 1. Development Environment / Java SDK.

If you still observe issues please attach your vsphere_client_virgo.log and specify the exact version of the SDK you are using.

Cheers,

Vladimir