Failed to deploy a local plugin on vSphere 8.0

Below logs observed in "vsphere-ui-runtime.log.stdout" while deploying our local plugin on vSphere 8.0.

[2022-10-03T12:55:35.631Z] [ERROR] plugin-deploy19               [Subsystem Event] Error when starting subsystem: com.vcplugin.plugin  org.osgi.service.subsystem.SubsystemException: Framework could not resolve the bundles: [org.osgi.service.subsystem.region.context.11_1.0.0 [359], org.eclipse.virgo.web.dm_1.0.0 [361], com.vmware.wsvim25_8.0.0 [360]]

OSGI reported missing dependencies for "org.eclipse.virgo.web.dm_1.0.0" only, but above logs showing errors for three bundles .

g! ss

360 RESOLVED com.vmware.wsvim25_8.0.0

361 INSTALLED org.eclipse.virgo.web.dm_1.0.0

g! diag 361 [361]

Unresolved requirement: Import-Package: org.springframework.aop

Importing all packages  reported by "packages org.springframework.aop" in respective pom.xml and Manifest file is not resolving deployment issue.


4 Replies

I also have a problem with my old local plugin and vSphere 8.0. I followed the instructions in the "Local plugin library isolation - vSphere 8.0" document. I moved third party libraries (Spring and others) to a separate "libraries" directory. My plugin deploys in vSphere but doesn't work.

In the OSGi console, my plugin bundle has the status 'INSTALLED'. The 'diag' command displays the message: "Unresolved requirement: Import-Package: com.vmware.vim.sso.http". But also in the same console I see this bundle (after typing 'ss' command):


Do I need to copy any libraries from VMware to the "libraries" directory in addition to third-party libraries? I found the httpSsoAuth.jar file containing bundle com.vmware.vim.sso.http on vSphere server. But copying this file to my plugin's "libraries" directory seems incorrect to me.

Has anyone had a problem like this? 

VMware Employee
VMware Employee



The package "com.vmware.vim.sso.http" is an internal package and should not be used. The code that uses classes from this package needs to be rewritten accordingly.




0 Kudos