I saw that the new sdk is available, so I downloaded it. After realizing that the "Eclipse-Setup.html" which is found in the "docs" subdirectory is out of date (still refers to the virgo server instead of tomcat)
I also downloaded the "Developing Local Plug-ins with vSphere Client SDK - VMWare vSphere 6.7".
I followed the directions in this file, and even got rid of my old sts - and replaced it with the newest Eclipse - so I could match the directions completely.
Starting the tomcat directly using the "startup.bat" script worked as expected, I could login to the remote vCenter and see the inventory.
Then I stopped it and tried to start it within the eclipse - after trying and retrying for a complete day, I have given up.
I got to the Chapter "Configure the Tomcat Server in Your Eclipse IDE" - here you are instructed to add a new server "Apache->Tomcat v8.5" - ok
Then you should set the VMWARE_CFG_DIR to the correct directory - also ok
Then it says "From the Overview Page" you should set values in the "Server Startup Configuration" and "Redeploy Behavior" Panes - these are not available for me in the Server Configuration ...
Instead, you are expected to configure ports 2 for http, and one for SSL - so I set them to 9090 and 9443 respectively.
I then started the tomcat - and it started successfully. But none of the Html Client packages were deployed. I checked out the catalina.bat and saw values for things like ports (http.port, https.port, shutdown.port) etc. are configured here - but do not seem to be confiured when the tomcat is started from eclipse. I added the defines in the runtime environment, but this did not help either.
So it seems to me that this Chapter is not complete - or does not match together with the newest version of eclipse. Could you please tell me how to get the tomcat server to pickup the vpshere packages?
I checked the logs - in "access"-> localhost_acess_log.xxx.txt I see:
126.96.36.199 ... "GET / HTTP1.1" 404 -- http-nio-127.0.0.1-9090-exec 1 0
The catalina.log looks very much like the one written when the startup.bat is called. I could find no error.
They other logs (also the virgo log) are missing or have no content.
thanks for the help
We were able to reproduce the issue and indeed the tomcat reports "started", but the vSphere Client's UI is inaccessible.
However, the "startup.sh/bat" scripts work as expected.
We are currently investigating the issue and will give updates as soon as possible.
Sorry for the delay in the response.
We managed to get the Tomcat server running in Eclipse, however, the process required many additional steps due to the fact that we are using a custom configuration of the server.
This makes the process more tedious than before and we will be working to streamline the process and make it easier for developers.
For now, the recommended approach is to use the scripts that come with the vSphere Client SDK.
Again, we are sorry for the inconvenience.
I downloaded the client SDK from
Followed the steps to setup Java, Eclipse and Tomcat server from
As commented earlier in this thread we have been able to use the scripts to get to localhost:9443/ui to start up the vsphere client but when the Tomcat server is started in eclipse I am not able to access localhost:9443/ui.
I wanted to clarify if this is a known issue and if so do we have a timeline on when we can expect a fix/workaround for this.
Thanks for any help!
This is a known issue and currently, the recommended approach is to use the scripts available in the SDK: <sdk_folder>/vsphere-ui/server/bin
Since the process of setting up the server in Eclipse has become tedious and requires many manual steps, we have decided to not recommend this approach anymore.
The currently supported way is to use the scripts that come with the vSphere Client SDK.