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
org.eclipse.virgo.web.dm [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.
vSphere 8.0 requires changes to local plugins to support library isolation:
and FIPS compliance:
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):
71 ACTIVE com.vmware.vim.sso.http_0.0.1.dev
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?
Hi,
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.
Best,
Denis
Hi,
You will need to place the following bundles inside your "libraries" folder:
Best,
Denis