In VMware Cloud Foundation (VCF), operations fail when attempting to upload a vSphere Lifecycle Manager image, or when running the task to download ESX metadata, VIBs, and vendor add-ons within SDDC Manager.
The /var/log/vmware/vcf/lcm/lcm-debug.log file on the SDDC Manager appliance records the following exception:
ClassNotfoundException: com.vmware.cis.SessionStub
at com.vmware.vcf.bindings.StubFactory.createStub(StubFactory.java:99)
...
Caused by: java.lang.ClassNotFoundException: com.vmware.cis.SessionStubVMware Cloud Foundation 9.1.0.
A corrupted Java classpath or transient initialization failure within the SDDC Manager Lifecycle Management (vcf_lcm) service prevents the successful loading of the com.vmware.cis.SessionStub class, which is strictly required for vAPI/CIS communication between SDDC Manager and vCenter Server.
Connect to the SDDC Manager appliance via SSH and authenticate with the vcf user credentials.
Switch to the super user context: su -
Restart the LCM service to force a complete re-initialization of the Java JVM classpath and clear the corrupted state: systemctl restart lcm
Verify the operational status of the service to ensure it has successfully started: systemctl status lcm
Return to the SDDC Manager UI and retry the vSphere Lifecycle Manager image upload or depot synchronization task.
For more information on SDDC Manager services and lifecycle management administration, see the VMware Cloud Foundation Lifecycle Management documentation at Broadcom Technical Documentation