Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

vCenter Client plugin is not appearing in 6.7U1 version getting bundle conflict

$
0
0

Hi,

 

We had upgraded our plugin service layer spring version as per the upgrade guide(attached) from VMware to support with 6.5U2 and above.

Our plugin is not coming up on vCenter 6.7U1 but it is working fine in 6.5U2, 6.5U2, 6.7U2, 6.7U3 and 7.0GA as well.

 

 

Below is the conflict snippet from virgo server log:

 

[2020-06-12T14:11:46.557Z] [INFO ] fs-watcher                    o.e.virgo.kernel.userregion.internal.quasi.DependencyCalculator   Calculating missing dependencies of bundle(s) 'com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui_9.7.0' [2020-06-12T14:11:46.649Z] [INFO ] fs-watcher                    org.eclipse.virgo.medic.eventlog.default                         ME0003I Dump '/usr/lib/vmware-vsphere-ui/server/serviceability/dump/2020-06-12-14-11-646' generated [2020-06-12T14:11:46.665Z] [ERROR] fs-watcher                    org.eclipse.virgo.medic.eventlog.default                         DE0002E Installation of par 'com.acme.prodh5' version '9.7.0.23531' failed. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui' at version '9.7.0': Cannot resolve: com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui    Resolver report:        An Import-Package could not be resolved. Resolver error data <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="1.0.0">. Caused by missing constraint in bundle <com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui_9.7.0>             constraint: <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="1.0.0">            with attributes {module_scope=com.acme.prodh5-9.7.0.23531}
        An Import-Package could not be resolved. Resolver error data <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="0.0.0">. Caused by missing constraint in bundle <com.acme.prodh5-9.7.0.23531-synthetic.context_9.7.0.23531>             constraint: <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="0.0.0"> constrained to bundle <com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-service> constrained bundle version range "[9.7.0,9.7.0]"            with attributes {module_scope=com.acme.prodh5-9.7.0.23531}
        A bundle could not be resolved because the required generic capability could not be resolved. Resolver error data <Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.8))">. Caused by missing constraint in bundle <com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-service_9.7.0>             constraint: <Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.8))">
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 org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:225)at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:79)at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:380)at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:289)at org.eclipse.virgo.nano.deployer.hot.WatchTask.run(WatchTask.java:49)at java.lang.Thread.run(Thread.java:748)
[2020-06-12T14:11:46.666Z] [INFO ] fs-watcher                    o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing install failed event for bundle 'com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui' version '9.7.0' [2020-06-12T14:11:46.666Z] [ERROR] fs-watcher                    org.eclipse.virgo.medic.eventlog.default                         DE0003E Install failed for bundle 'com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui' version '9.7.0'. [2020-06-12T14:11:46.667Z] [INFO ] fs-watcher                    o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing install failed event for bundle 'com.acme.prodh5-9.7.0.23531-com.vmware.wsvim25' version '6.7.0' [2020-06-12T14:11:46.667Z] [ERROR] fs-watcher                    org.eclipse.virgo.medic.eventlog.default                         DE0003E Install failed for bundle 'com.acme.prodh5-9.7.0.23531-com.vmware.wsvim25' version '6.7.0'. [2020-06-12T14:11:46.668Z] [INFO ] fs-watcher                    o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing install failed event for bundle 'com.acme.prodh5-9.7.0.23531-com.google.gson' version '2.3.1' [2020-06-12T14:11:46.668Z] [ERROR] fs-watcher                    org.eclipse.virgo.medic.eventlog.default                         DE0003E Install failed for bundle 'com.acme.prodh5-9.7.0.23531-com.google.gson' version '2.3.1'. [2020-06-12T14:11:46.668Z] [INFO ] fs-watcher                    o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing install failed event for bundle 'com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-service' version '9.7.0' [2020-06-12T14:11:46.669Z] [ERROR] fs-watcher                    org.eclipse.virgo.medic.eventlog.default                         DE0003E Install failed for bundle 'com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-service' version '9.7.0'. [2020-06-12T14:11:46.669Z] [INFO ] fs-watcher                    o.e.v.k.m.i.deployer.ModelInstallArtifactLifecycleListener        Processing install failed event for par 'com.acme.prodh5' version '9.7.0.23531' [2020-06-12T14:11:46.670Z] [ERROR] fs-watcher                    org.eclipse.virgo.medic.eventlog.default                         DE0003E Install failed for par 'com.acme.prodh5' version '9.7.0.23531'. [2020-06-12T14:11:46.672Z] [ERROR] plugin-deploy11               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.acme.prodh5-9.7.0.23531 java.lang.Exception: Bundle: <com.acme.prodh5,9.7.0.23531> failure: Install Failedat com.vmware.vise.extensionfw.impl.BundleLifeCycleListenerImpl.collectDeployFailure(BundleLifeCycleListenerImpl.java:156)at com.vmware.vise.extensionfw.impl.BundleLifeCycleListenerImpl.onInstallFailed(BundleLifeCycleListenerImpl.java:76)at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onInstallFailed(StandardArtifactStateMonitor.java:132)at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.failInstall(AbstractInstallArtifact.java:120)at org.eclipse.virgo.kernel.deployer.core.internal.Plumber$3.operate(Plumber.java:116)at org.eclipse.virgo.kernel.install.pipeline.stage.visit.internal.VisitationStage.doProcessNode(VisitationStage.java:51)at org.eclipse.virgo.kernel.install.pipeline.stage.visit.internal.VisitationStage.doProcessGraph(VisitationStage.java:65)at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.compensate(CompensatingPipeline.java:93)at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:78)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 org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:225)at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:79)at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:380)at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:289)at org.eclipse.virgo.nano.deployer.hot.WatchTask.run(WatchTask.java:49)at java.lang.Thread.run(Thread.java:748)
[2020-06-12T14:11:46.672Z] [INFO ] plugin-deploy11               com.vmware.vise.extensionfw.impl.HotDeployBundleDeployer          Deleting bundle file: /usr/lib/vmware-vsphere-ui/server/pickup/com.acme.prodh5-9.7.0.23531.par [2020-06-12T14:11:46.675Z] [ERROR] fs-watcher                    org.eclipse.virgo.medic.eventlog.default                         DE0500E Unable to install application from URI 'file:/usr/lib/vmware-vsphere-ui/server/pickup/com.acme.prodh5-9.7.0.23531.par'. Cannot satisfy constraints for bundle 'com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui' version '9.7.0'. Cannot resolve: com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui    Resolver report:        An Import-Package could not be resolved. Resolver error data <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="1.0.0">. Caused by missing constraint in bundle <com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui_9.7.0>             constraint: <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="1.0.0">            with attributes {module_scope=com.acme.prodh5-9.7.0.23531}
        An Import-Package could not be resolved. Resolver error data <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="0.0.0">. Caused by missing constraint in bundle <com.acme.prodh5-9.7.0.23531-synthetic.context_9.7.0.23531>             constraint: <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="0.0.0"> constrained to bundle <com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-service> constrained bundle version range "[9.7.0,9.7.0]"            with attributes {module_scope=com.acme.prodh5-9.7.0.23531}
        A bundle could not be resolved because the required generic capability could not be resolved. Resolver error data <Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.8))">. Caused by missing constraint in bundle <com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-service_9.7.0>             constraint: <Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.8))">. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui' at version '9.7.0': Cannot resolve: com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui    Resolver report:        An Import-Package could not be resolved. Resolver error data <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="1.0.0">. Caused by missing constraint in bundle <com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-ui_9.7.0>             constraint: <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="1.0.0">            with attributes {module_scope=com.acme.prodh5-9.7.0.23531}
        An Import-Package could not be resolved. Resolver error data <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="0.0.0">. Caused by missing constraint in bundle <com.acme.prodh5-9.7.0.23531-synthetic.context_9.7.0.23531>             constraint: <Import-Package: com.acme.myhtmlplugin.vcenter.service; version="0.0.0"> constrained to bundle <com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-service> constrained bundle version range "[9.7.0,9.7.0]"            with attributes {module_scope=com.acme.prodh5-9.7.0.23531}
        A bundle could not be resolved because the required generic capability could not be resolved. Resolver error data <Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.8))">. Caused by missing constraint in bundle <com.acme.prodh5-9.7.0.23531-com.acme.myhtmlplugin.myhtmlplugin-service_9.7.0>             constraint: <Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.8))">
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 org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:225)at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:79)at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:380)at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:289)at org.eclipse.virgo.nano.deployer.hot.WatchTask.run(WatchTask.java:49)at java.lang.Thread.run(Thread.java:748)

 

 

Service layer manifest file:

Manifest-Version: 1.0

Bundle-Vendor: acme

Bundle-Version: 9.7.0

Tool: Bundlor 1.1.0.RELEASE

Bundle-Name: myhtmlplugin-service

Bundle-ManifestVersion: 2

Bundle-SymbolicName: com.acme.myhtmlplugin.myhtmlplugin-service

Export-Package: com.acme.myhtmlplugin.mvc;version="1.0.0",

com.acme.myhtmlplugin.util;version="1.0.0",

com.acme.myhtmlplugin.dashboard.service;version="1.0.0",

com.acme.myhtmlplugin.storagesystem.service;version="1.0.0",

com.acme.myhtmlplugin.datastore.service;version="1.0.0",

com.acme.myhtmlplugin.storage.service;version="1.0.0",

com.acme.myhtmlplugin.privileges.service;version="1.0.0",

com.acme.myhtmlplugin.reports.service;version="1.0.0",

com.acme.myhtmlplugin.home.service;version="1.0.0",

com.acme.myhtmlplugin.appliance.service;version="1.0.0",

com.acme.myhtmlplugin.vcenter.service;version="1.0.0",

com.acme.myhtmlplugin.vvolreports.service;version="1.0.0",

com.acme.myhtmlplugin.datastore.service;version="1.0.0",

com.acme.myhtmlplugin.privileges.service;version="1.0.0",

com.acme.myhtmlplugin.managecapability.service;version="1.0.0",

com.acme.myhtmlplugin.vsphereportlet.service;version="1.0.0",

com.acme.myhtmlplugin.thresholds.service;version="1.0.0",

com.acme.myhtmlplugin.nfsvaai.service;version="1.0.0",

com.acme.myhtmlplugin.inventory.service;version="1.0.0",

com.acme.myhtmlplugin.vsphereentity.service;version="1.0.0",

com.acme.myhtmlplugin.hosts.service;version="1.0.0",

com.acme.myhtmlplugin.storagemapping.service;version="1.0.0",

com.acme.myhtmlplugin.esxihost.service;version="1.0.0",

com.acme.myhtmlplugin.credentials.service;version="1.0.0",

com.acme.myhtmlplugin.storagecapabilityprofile.service;version="1.0.0",

com.acme.myhtmlplugin.vvoldashboard.service;version="1.0.0"

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

com.vmware.vise.data;version="0",

com.vmware.vise.data.query;version="0",

com.vmware.vise.data.uri;version="0",

com.vmware.vise.usersession;version="0",

com.vmware.vise.security;version="0",

com.vmware.vise.vim.data;version="0",

com.vmware.vim25;version="6.5.0",

com.google.gson;version="2.3.1",

javax.servlet.http;version="3.0",

javax.net.ssl;version="0",

org.springframework.beans.factory.annotation;version="0",

org.springframework.http;version="0",

org.springframework.stereotype;version="0",

org.springframework.web.bind.annotation;version="0",

org.springframework.web.client;version="0",

org.springframework.util;version="0",

org.springframework.web.util;version="0"

 

 

UI layer Manifest file:

Manifest-Version: 1.0

Bundle-ManifestVersion: 2

Bundle-Name: myhtmlplugin-ui

Bundle-SymbolicName: com.acme.myhtmlplugin.myhtmlplugin-ui

Bundle-Version: 9.7.0

Bundle-Vendor: acme

Web-ContextPath: vsphere-client/myhtmlplugin

Import-Package: com.acme.myhtmlplugin.mvc;version="1.0.0",

com.acme.myhtmlplugin.storage.service;version="1.0.0",

com.acme.myhtmlplugin.storagesystem.service;version="1.0.0",

com.acme.myhtmlplugin.util;version="1.0.0",

com.acme.myhtmlplugin.dashboard.service;version="1.0.0",

com.acme.myhtmlplugin.reports.service;version="1.0.0",

com.acme.myhtmlplugin.storagecapabilityprofile.service;version="1.0.0",

com.acme.myhtmlplugin.home.service;version="1.0.0",

com.acme.myhtmlplugin.appliance.service;version="1.0.0",

com.acme.myhtmlplugin.vcenter.service;version="1.0.0",

com.acme.myhtmlplugin.datastore.service;version="1.0.0",

com.acme.myhtmlplugin.vvolreports.service;version="1.0.0",

com.acme.myhtmlplugin.privileges.service;version="1.0.0",

com.acme.myhtmlplugin.vsphereportlet.service;version="1.0.0",

com.acme.myhtmlplugin.managecapability.service;version="1.0.0",

com.acme.myhtmlplugin.nfsvaai.service;version="1.0.0",

com.acme.myhtmlplugin.inventory.service;version="1.0.0",

com.acme.myhtmlplugin.vsphereentity.service;version="1.0.0",

com.acme.myhtmlplugin.esxihost.service;version="1.0.0",

com.acme.myhtmlplugin.thresholds.service;version="1.0.0",

com.acme.myhtmlplugin.hosts.service;version="1.0.0",

com.acme.myhtmlplugin.storagemapping.service;version="1.0.0",

com.acme.myhtmlplugin.credentials.service;version="1.0.0",

com.acme.myhtmlplugin.vvoldashboard.service;version="1.0.0",

com.vmware.vise.data.query;version="0",

com.vmware.vise.security;version="0",

org.eclipse.virgo.web.dm;version="3.6.0",

org.springframework.web.servlet;version="3.1.4",

org.springframework.web.servlet.view;version="3.1.4",

org.springframework.web.servlet.view.json;version="3.1.4",

org.springframework.web.servlet.config;version="3.1.4"

Please suggest what is wrong?

Is there a know issue with in VC 6.7U1?

 

Thanks,

Kumar


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>