Running the vSphere
HTML SDK SampleLast Updated December 16, 2024
Use this procedure
to run the vSphere HTML SDK sample.
- Start or restart the application server from the command lineOn a MacOS system, runvsphere-ui/server/bin/startup.sh [-debug]in a shell window.The-debugoption allows you to specify a debug port, if desired. The default, if no port is specified, is8000.On a Windows system, runvsphere-ui/server/bin/startup.bat -debugin a shell window.
- Check that there are no errors in the console or in the logs.
- Log in to your local HTML Client at https://localhost:9443/ui/.
- Click the vSphere HTML SDK Sample entry in thePolicies and profilessection to explore the sample functionality.
If you need to modify the logging level, modify the
file
html-client-sdk/vsphere-ui/server/conf/serviceability.xml
. The XML
file contains instructions to modify the logging level. To stop running samples in
your local client, delete the sample folders from the
vsphere-ui/plugin-packages
directory and restart the server.
Do not delete other
plugin packages. Do not delete the entire
plugin-packages
directory.