VMware {code} Community
nbhagwat
Contributor
Contributor

Upgrade to Vmware Vsphere Client 6.5 U3 making plugin disappaear

Hi,

We have our VMware VSphere client plugin registered in 6.5 U1. Our plugin is flex based plugin that uses flex as well as html5 APIs.

When we have upgraded to Vmware Vsphere Client 6.5 U3, we could not see the plugin visible in the Vmware Vsphere client. We tried deleting the plugin, reregistering the plugin again, restarting services, etc., but still, we are getting the same error. Vmware mob shows the plugin is registered.

We have also downloaded VMware VSphere 6.5 U2 client SDKs and compiled the plugin again. And tried reregistering . But still the same issue.

 

Following are the log snippet from vsphere_client_virgo.log:

=============================================================================

[2021-03-16T17:55:16.842Z] [INFO ] iLogServiceListener@145ca74d org.osgi.service.log.LogService Bundle com.hds.hnasv2i.hnasv2ihtml_3.3.0, Service 810, ServiceEvent REGISTERED
[2021-03-16T17:55:16.842Z] [INFO ] start-signalling-3 org.springframework.web.servlet.DispatcherServlet FrameworkServlet 'springServlet': initialization completed in 173 ms
[2021-03-16T17:55:16.843Z] [INFO ] iLogServiceListener@145ca74d org.osgi.service.log.LogService Bundle com.hds.hnasv2i.hnasv2ihtml_3.3.0, Service 811, ServiceEvent REGISTERED
[2021-03-16T17:55:16.844Z] [INFO ] start-signalling-3 org.eclipse.virgo.medic.eventlog.default WE0001I Started web bundle 'com.hds.hnasv2i.hnasv2ihtml' version '3.3.0' with context path '/vsphere-client/hnasv2ihtml'.
[2021-03-16T17:55:16.844Z] [INFO ] start-signalling-3 org.eclipse.virgo.medic.eventlog.default DE0005I Started bundle 'com.hds.hnasv2i.hnasv2ihtml' version '3.3.0'.
[2021-03-16T17:55:16.848Z] [ERROR] plugin-deploy12 70000084 100004 200001 com.vmware.vise.extensionfw.impl.PackagesDeployer Error deploying one of more bundles for the plugin package /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/com.hds.hnasv2i-3.3.0 java.lang.Exception: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [bundleentry://366.fwk970091754/META-INF/spring/bundle-context-osgi.xml]; nested exception is org.eclipse.virgo.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ElementTraversal in KernelBundleClassLoader: [bundle=com.springsource.org.apache.xerces_2.12.0] in KernelBundleClassLoader: [bundle=com.springsource.org.apache.xerces_2.12.0]
at com.vmware.vise.extensionfw.impl.BundleLifeCycleListenerImpl.onStartFailed(BundleLifeCycleListenerImpl.java:93)
at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onStartFailed(StandardArtifactStateMonitor.java:242)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartFailed(AbstractInstallArtifact.java:329)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$1(AbstractInstallArtifact.java:325)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalFailure(AbstractInstallArtifact.java:264)
at org.eclipse.virgo.nano.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:142)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [bundleentry://366.fwk970091754/META-INF/spring/bundle-context-osgi.xml]; nested exception is org.eclipse.virgo.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ElementTraversal in KernelBundleClassLoader: [bundle=com.springsource.org.apache.xerces_2.12.0] in KernelBundleClassLoader: [bundle=com.springsource.org.apache.xerces_2.12.0]
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
at org.eclipse.gemini.blueprint.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:170)
at org.eclipse.gemini.blueprint.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:140)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$800(AbstractDelegatedExecutionApplicationContext.java:60)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:242)
at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:220)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:224)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:177)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)
at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)
at org.eclipse.virgo.kernel.agent.dm.ContextPropagatingTaskExecutor$2.run(ContextPropagatingTaskExecutor.java:95)
... 3 common frames omitted

Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedNoClassDefFoundError: org/w3c/dom/ElementTraversal in KernelBundleClassLoader: [bundle=com.springsource.org.apache.xerces_2.12.0] in KernelBundleClassLoader: [bundle=com.springsource.org.apache.xerces_2.12.0]
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:152)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)

..............................................................................................................................................

 

Questions:

1. Do we need SDKs of Vmware Vsphere client U3 which is currently not available on the VMware website?

2. It seems the Spring Framework is updated to version 4.3.29 in VMware patch release  v6.5 U3n. Do we need to compile our source with this spring version?

Let us know if there is any solution to this problem.

 

Thanks and regards,

Rahul

0 Kudos
0 Replies