VMware {code} Community
kumartade
Enthusiast
Enthusiast

Does vSphere 6.7 RC(6.6.3 SDK) HTML plugin sample backward compatible to run in vSphere 6.5U1?

Hi

I'm trying register the sample plugin given in 6.6.3 SDK (a.k.a 6.7 RC) in vSphere Client 6.5U1 build 5973321.

It is working fine in vSphere 6.7 RC.

But i'm getting the below deployment error:

[2018-01-25T16:47:12.335+05:30] [WARN ] vc-extensionmanager-pool-35  70000020 100004 200001 com.vmware.vise.vim.extension.VcExtensionManager                  Detected an invalid signature for plugin: com.vmware.samples.htmlsample:1.0.0 com.vmware.vise.extensionfw.signing.PluginSignatureException: No META-INF/MANIFEST.MF entry found in the plugin zip file.

        at com.vmware.vise.extensionfw.signing.PluginSignatureServiceImpl.verifySignature(PluginSignatureServiceImpl.java:171)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

        at com.sun.proxy.$Proxy251.verifySignature(Unknown Source)

        at com.vmware.vise.vim.extension.VcExtensionManager.performPluginSignatureCheckIfNecessary(VcExtensionManager.java:886)

        at com.vmware.vise.vim.extension.VcExtensionManager.downloadPackage(VcExtensionManager.java:772)

        at com.vmware.vise.vim.extension.VcExtensionManager$2.call(VcExtensionManager.java:461)

        at com.vmware.vise.vim.extension.VcExtensionManager$2.call(VcExtensionManager.java:452)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at com.vmware.vise.util.concurrent.QueuingCachedThreadPool$QueueProcessor.run(QueuingCachedThreadPool.java:957)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:748)

[2018-01-25T16:47:12.372+05:30] [INFO ] vc-extensionmanager-pool-35  70000020 100004 200001 com.vmware.vise.vim.extension.VcExtensionManager                  Done expanding plugin package to /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/com.vmware.samples.htmlsample-1.0.0

[2018-01-25T16:47:12.373+05:30] [WARN ] vc-extensionmanager-pool-35  70000020 100004 200001 com.vmware.vise.extensionfw.impl.PackageManifestParser            Plugin version mismatch for com.vmware.samples.htmlsample between the plugin registration info (1.0.0)

and the version specified in plugin-package.xml (0.1.0). The registration version will be used but you should keep them in sync.

[2018-01-25T16:47:12.480+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 com.vmware.vise.extensionfw.impl.PackagesDeployer                 Deploying plugin package 'com.vmware.samples.htmlsample:1.0.0'.

[2018-01-25T16:47:12.482+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         XF1000I Deploying plugin package 'com.vmware.samples.htmlsample' version '1.0.0'.

[2018-01-25T16:47:12.483+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         XF0010I Enqueuing artifact 'com.vmware.samples.htmlsample' version '1.0.0'.

[2018-01-25T16:47:12.483+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 com.vmware.vise.extensionfw.impl.DirectApiBundleDeployer          Enqueuing Bundle: id:com.vmware.samples.htmlsample, version:1.0.0, contextPath:null, location:/etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/com.vmware.samples.htmlsample-1.0.0/com.vmware.samples.htmlsample-1.0.0.par, exportPackage:null, importPackage:null, isSorted:false

[2018-01-25T16:47:12.517+05:30] [WARN ] plugin-deploy7               70000020 100004 200001 o.e.v.kernel.install.artifact.internal.ParPlanInstallArtifact     Skipping entry /META-INF as it is not of a recognized type

[2018-01-25T16:47:12.653+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing installing event for par 'com.vmware.samples.htmlsample' version '1.0.0'

[2018-01-25T16:47:12.655+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         DE0000I Installing par 'com.vmware.samples.htmlsample' version '1.0.0'.

[2018-01-25T16:47:12.655+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing installing event for bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui' version '1.0.0'

[2018-01-25T16:47:12.656+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         DE0000I Installing bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui' version '1.0.0'.

[2018-01-25T16:47:12.657+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing installing event for bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service' version '1.0.0'

[2018-01-25T16:47:12.658+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         DE0000I Installing bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service' version '1.0.0'.

[2018-01-25T16:47:12.661+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.u.internal.importexpansion.ImportExpansionHandler         Import-Library and/or Import-Bundle header found. Original manifest:

Manifest-Version: 1.0

Bundle-SymbolicName: com.vmware.samples.htmlsample-1-synthetic.context

Bundle-Version: 1.0.0

Module-Scope: com.vmware.samples.htmlsample-1

Bundle-ManifestVersion: 2

Import-Bundle: com.vmware.samples.htmlsample-1-com.vmware.samples.html

sample.service,com.vmware.samples.htmlsample-1-com.vmware.samples.htm

lsample.ui

[2018-01-25T16:47:12.662+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.u.internal.importexpansion.ImportExpansionHandler         Found definition for bundle with symbolic name 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service' and version range '[0.0.0, oo)': Manifest-Version: 1.0

Bundle-SymbolicName: com.vmware.samples.htmlsample-1-com.vmware.sample

s.htmlsample.service

Archiver-Version: Plexus Archiver

Built-By: mts

Bundle-ManifestVersion: 2

Bundle-Vendor: VMware

Import-Package: org.apache.commons.logging;version="1.1.1",javax.servl

et.http;version="3.0",org.springframework.beans.factory.annotation;ve

rsion="4.2.9",org.springframework.http;version="4.2.9",org.springfram

ework.stereotype;version="4.2.9",org.springframework.web.bind.annotat

ion;version="4.2.9"

Tool: Bundlor 1.1.0.RELEASE

org-eclipse-virgo-kernel-DefaultedBSN: true

Export-Package: com.vmware.samples.htmlsample.controllers;version="1.0

.0";module_scope="com.vmware.samples.htmlsample-1";mandatory:="module

_scope",com.vmware.samples.htmlsample.services;version="1.0.0";module

_scope="com.vmware.samples.htmlsample-1";mandatory:="module_scope"

Bundle-Version: 1.0.0

Bundle-Name: html-sample-service

Module-Scope: com.vmware.samples.htmlsample-1

Created-By: Apache Maven 3.3.3

Build-Jdk: 1.8.0_121

[2018-01-25T16:47:12.662+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.u.internal.importexpansion.ImportExpansionHandler         Found definition for bundle with symbolic name 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui' and version range '[0.0.0, oo)': Manifest-Version: 1.0

Bundle-SymbolicName: com.vmware.samples.htmlsample-1-com.vmware.sample

s.htmlsample.ui

Archiver-Version: Plexus Archiver

Built-By: mts

Bundle-ManifestVersion: 2

Bundle-Vendor: VMware

Import-Package: com.vmware.samples.htmlsample.controllers;version="1.0

.0";module_scope="com.vmware.samples.htmlsample-1",com.vmware.samples

.htmlsample.services;version="1.0.0";module_scope="com.vmware.samples

.htmlsample-1",com.vmware.vise.security;version="0",org.eclipse.virgo

.web.dm;version="3.6.0",org.springframework.web.servlet;version="4.2.

9",org.springframework.web.servlet.config;version="4.2.9"

org-eclipse-virgo-kernel-DefaultedBSN: true

Bundle-Version: 1.0.0

Bundle-Name: html-sample-ui

Module-Scope: com.vmware.samples.htmlsample-1

Web-ContextPath: ui/html-sample

Created-By: Apache Maven 3.3.3

Build-Jdk: 1.8.0_121

[2018-01-25T16:47:12.662+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.u.internal.importexpansion.ImportExpansionHandler         Updated manifest:

Manifest-Version: 1.0

Bundle-SymbolicName: com.vmware.samples.htmlsample-1-synthetic.context

Bundle-Version: 1.0.0

Module-Scope: com.vmware.samples.htmlsample-1

Bundle-ManifestVersion: 2

Import-Package: com.vmware.samples.htmlsample.services;bundle-symbolic

-name="com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.

service";bundle-version="[1.0.0, 1.0.0]";module_scope="com.vmware.sam

ples.htmlsample-1",com.vmware.samples.htmlsample.controllers;bundle-s

ymbolic-name="com.vmware.samples.htmlsample-1-com.vmware.samples.html

sample.service";bundle-version="[1.0.0, 1.0.0]";module_scope="com.vmw

are.samples.htmlsample-1"

[2018-01-25T16:47:12.664+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.virgo.kernel.userregion.internal.quasi.DependencyCalculator   Calculating missing dependencies of bundle(s) 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui_1.0.0'

[2018-01-25T16:47:12.685+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         ME0003I Dump '/usr/lib/vmware-vsphere-ui/server/serviceability/dump/2018-01-25-16-47-682' generated

[2018-01-25T16:47:12.693+05:30] [ERROR] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         DE0002E Installation of par 'com.vmware.samples.htmlsample' version '1.0.0' failed. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui' at version '1.0.0': Cannot resolve: com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui

    Resolver report:

        An Import-Package could not be resolved. Resolver error data <Import-Package: org.springframework.web.servlet; version="4.2.9">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui_1.0.0>

             constraint: <Import-Package: org.springframework.web.servlet; version="4.2.9">

        An Import-Package could not be resolved. Resolver error data <Import-Package: org.springframework.http; version="4.2.9">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service_1.0.0>

             constraint: <Import-Package: org.springframework.http; version="4.2.9">

        An Import-Package could not be resolved. Resolver error data <Import-Package: com.vmware.samples.htmlsample.services; version="0.0.0">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-synthetic.context_1.0.0>

             constraint: <Import-Package: com.vmware.samples.htmlsample.services; version="0.0.0"> constrained to bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service> constrained bundle version range "[1.0.0,1.0.0]"

            with attributes {module_scope=com.vmware.samples.htmlsample-1}

        at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:46)

        at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)

        at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)

        at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

        at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)

        at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:359)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:185)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:140)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:253)

        at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

        at com.sun.proxy.$Proxy92.deploy(Unknown Source)

        at com.vmware.vise.extensionfw.impl.DirectApiBundleDeployer.enqueueBundlesForDeployment(DirectApiBundleDeployer.java:84)

        at com.vmware.vise.extensionfw.impl.DirectApiBundleDeployer.deploy(DirectApiBundleDeployer.java:56)

        at com.vmware.vise.extensionfw.impl.DelegatingBundleDeployer.deploy(DelegatingBundleDeployer.java:30)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer.deployInternalPlugin(PackagesDeployer.java:506)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer.deployPlugin(PackagesDeployer.java:457)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer.access$100(PackagesDeployer.java:42)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer$PackageDeployTask.call(PackagesDeployer.java:441)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer$PackageDeployTask.call(PackagesDeployer.java:429)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:748)

[2018-01-25T16:47:12.694+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing install failed event for bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui' version '1.0.0'

[2018-01-25T16:47:12.695+05:30] [ERROR] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         DE0003E Install failed for bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui' version '1.0.0'.

[2018-01-25T16:47:12.695+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing install failed event for bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service' version '1.0.0'

[2018-01-25T16:47:12.696+05:30] [ERROR] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         DE0003E Install failed for bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service' version '1.0.0'.

[2018-01-25T16:47:12.696+05:30] [INFO ] plugin-deploy7               70000020 100004 200001 o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing install failed event for par 'com.vmware.samples.htmlsample' version '1.0.0'

[2018-01-25T16:47:12.696+05:30] [ERROR] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         DE0003E Install failed for par 'com.vmware.samples.htmlsample' version '1.0.0'.

[2018-01-25T16:47:12.702+05:30] [ERROR] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         DE0500E Unable to install application from URI 'file:/etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/com.vmware.samples.htmlsample-1.0.0/com.vmware.samples.htmlsample-1.0.0.par'. Cannot satisfy constraints for bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui' version '1.0.0'. Cannot resolve: com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui

    Resolver report:

        An Import-Package could not be resolved. Resolver error data <Import-Package: org.springframework.web.servlet; version="4.2.9">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui_1.0.0>

             constraint: <Import-Package: org.springframework.web.servlet; version="4.2.9">

        An Import-Package could not be resolved. Resolver error data <Import-Package: org.springframework.http; version="4.2.9">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service_1.0.0>

             constraint: <Import-Package: org.springframework.http; version="4.2.9">

        An Import-Package could not be resolved. Resolver error data <Import-Package: com.vmware.samples.htmlsample.services; version="0.0.0">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-synthetic.context_1.0.0>

             constraint: <Import-Package: com.vmware.samples.htmlsample.services; version="0.0.0"> constrained to bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service> constrained bundle version range "[1.0.0,1.0.0]"

            with attributes {module_scope=com.vmware.samples.htmlsample-1}

. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui' at version '1.0.0': Cannot resolve: com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui

    Resolver report:

        An Import-Package could not be resolved. Resolver error data <Import-Package: org.springframework.web.servlet; version="4.2.9">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui_1.0.0>

             constraint: <Import-Package: org.springframework.web.servlet; version="4.2.9">

        An Import-Package could not be resolved. Resolver error data <Import-Package: org.springframework.http; version="4.2.9">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service_1.0.0>

             constraint: <Import-Package: org.springframework.http; version="4.2.9">

        An Import-Package could not be resolved. Resolver error data <Import-Package: com.vmware.samples.htmlsample.services; version="0.0.0">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-synthetic.context_1.0.0>

             constraint: <Import-Package: com.vmware.samples.htmlsample.services; version="0.0.0"> constrained to bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service> constrained bundle version range "[1.0.0,1.0.0]"

            with attributes {module_scope=com.vmware.samples.htmlsample-1}

        at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:46)

        at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)

        at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)

        at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

        at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)

        at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:359)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:185)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:140)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:253)

        at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

        at com.sun.proxy.$Proxy92.deploy(Unknown Source)

        at com.vmware.vise.extensionfw.impl.DirectApiBundleDeployer.enqueueBundlesForDeployment(DirectApiBundleDeployer.java:84)

        at com.vmware.vise.extensionfw.impl.DirectApiBundleDeployer.deploy(DirectApiBundleDeployer.java:56)

        at com.vmware.vise.extensionfw.impl.DelegatingBundleDeployer.deploy(DelegatingBundleDeployer.java:30)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer.deployInternalPlugin(PackagesDeployer.java:506)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer.deployPlugin(PackagesDeployer.java:457)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer.access$100(PackagesDeployer.java:42)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer$PackageDeployTask.call(PackagesDeployer.java:441)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer$PackageDeployTask.call(PackagesDeployer.java:429)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:748)

[2018-01-25T16:47:12.707+05:30] [ERROR] plugin-deploy7               70000020 100004 200001 com.vmware.vise.extensionfw.impl.PackagesDeployer                 Error deploying one of more bundles for the plugin package /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/com.vmware.samples.htmlsample-1.0.0 org.eclipse.virgo.nano.deployer.api.core.DeploymentException: Dependency satisfaction failed

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:362)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:185)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:140)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:253)

        at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

        at com.sun.proxy.$Proxy92.deploy(Unknown Source)

        at com.vmware.vise.extensionfw.impl.DirectApiBundleDeployer.enqueueBundlesForDeployment(DirectApiBundleDeployer.java:84)

        at com.vmware.vise.extensionfw.impl.DirectApiBundleDeployer.deploy(DirectApiBundleDeployer.java:56)

        at com.vmware.vise.extensionfw.impl.DelegatingBundleDeployer.deploy(DelegatingBundleDeployer.java:30)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer.deployInternalPlugin(PackagesDeployer.java:506)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer.deployPlugin(PackagesDeployer.java:457)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer.access$100(PackagesDeployer.java:42)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer$PackageDeployTask.call(PackagesDeployer.java:441)

        at com.vmware.vise.extensionfw.impl.PackagesDeployer$PackageDeployTask.call(PackagesDeployer.java:429)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:748)

Caused by: org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui' at version '1.0.0': Cannot resolve: com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui

    Resolver report:

        An Import-Package could not be resolved. Resolver error data <Import-Package: org.springframework.web.servlet; version="4.2.9">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.ui_1.0.0>

             constraint: <Import-Package: org.springframework.web.servlet; version="4.2.9">

        An Import-Package could not be resolved. Resolver error data <Import-Package: org.springframework.http; version="4.2.9">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service_1.0.0>

             constraint: <Import-Package: org.springframework.http; version="4.2.9">

        An Import-Package could not be resolved. Resolver error data <Import-Package: com.vmware.samples.htmlsample.services; version="0.0.0">. Caused by missing constraint in bundle <com.vmware.samples.htmlsample-1-synthetic.context_1.0.0>

             constraint: <Import-Package: com.vmware.samples.htmlsample.services; version="0.0.0"> constrained to bundle <com.vmware.samples.htmlsample-1-com.vmware.samples.htmlsample.service> constrained bundle version range "[1.0.0,1.0.0]"

            with attributes {module_scope=com.vmware.samples.htmlsample-1}

        at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:46)

        at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)

        at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)

        at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

        at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)

        at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

        at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:359)

        ... 34 common frames omitted

[2018-01-25T16:47:12.708+05:30] [ERROR] plugin-deploy7               70000020 100004 200001 org.eclipse.virgo.medic.eventlog.default                         XF1009E Failed to deploy plugin package 'com.vmware.samples.htmlsample' version '1.0.0'.

[2018-01-25T16:47:12.708+05:30] [INFO ] vc-extensionmanager-pool-35  70000020 100004 200001 com.vmware.vise.extensionfw.impl.PackagesDeployer                 Processed deployment failure for plugin package 'com.vmware.samples.htmlsample:1.0.0'.

[2018-01-25T16:47:12.708+05:30] [INFO ] plugin-validation1            com.vmware.vise.extensionfw.impl.OsgiUsageValidationService       Started validation of OSGi bad practices.

[2018-01-25T16:47:12.708+05:30] [INFO ] plugin-validation1            com.vmware.vise.extensionfw.impl.OsgiUsageValidationService       OSGi validation skipped for plugin package com.vmware.samples.htmlsample:1.0.0. It is not deployed.

[2018-01-25T16:47:12.708+05:30] [INFO ] plugin-validation1            com.vmware.vise.extensionfw.impl.OsgiUsageValidationService       Finished validation of OSGi bad practices.

[2018-01-25T16:47:12.721+05:30] [INFO ] dPoolTaskExecutor#75cd46ee-1 70000020 100004 200001 c.vmware.vise.vim.extension.login.LoginPluginDeploymentInitiator  No new plugins were found. Check duration [ms]: 944

Can some one confirm/help?

0 Kudos
3 Replies
yitingjin
Contributor
Contributor

Hi there -- the sample from 6.7 RC is not compatible with vSphere 6.5 update 1, but is planned for vSphere 6.5 update 2.

0 Kudos
kumartade
Enthusiast
Enthusiast

Thanks for the confirmation.

Any approx. release date for vSphere 6.5 Update 2?

0 Kudos
_vladi_
VMware Employee
VMware Employee

Hi,

We don't yet have a date for 6.5 U2.

As for the errors - samples are not guaranteed to have forward compatibility as they demonstrate the latest features. In this particular case the sample is built to work on the newly upgraded for security reasons Virgo server distribution (which is based on the newer Spring 4.2.9). For comparison 6.5 U1 is based on Spring 3.1.4.

The first stack trace is not an error but indicates that the plugin is not signed, meaning that it is not certified by the VMware plugin certification program.

Cheers,

Vladi

0 Kudos