Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Vsphere WebClient SDK V6.7U2 - problems to setup tomcat server in eclipse

$
0
0

Hi,

 

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:

120.0.0.1 ... "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

Cathy


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>