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

Invalid bundle id when deploying package

$
0
0

I am attempting to deploy a package called vtest-plugin.zip but I'm getting the following error from the Extension Manager.

 

[2013-11-04 10:14:48.072] INFO  [INFO ] vc-service-pool-215          F2FD514D43FAF98FB01D7E82E2924C50 com.vmware.vise.vim.extension.VcExtensionManager                  Done downloading plugin package from https://mkesrv-vcvzip2b.pkware.com:34443/vzip/vtest-plugin.zip

[2013-11-04 10:14:48.072] INFO  [INFO ] vc-service-pool-215          F2FD514D43FAF98FB01D7E82E2924C50 com.vmware.vise.vim.extension.VcExtensionManager                  end writePackageToFile : com.pkware.vtest

[2013-11-04 10:14:48.494] ERROR [ERROR] vc-service-pool-215          F2FD514D43FAF98FB01D7E82E2924C50 com.vmware.vise.extensionfw.ExtensionManager                      The bundle id com.pkware.vzip.java.vzipdbservice specified in the plugin package C:\ProgramData\VMware\vSphere Web Client\vc-packages\vsphere-client-serenity\com.pkware.vtest-1.0.0 is invalid.

Check the bundle id or check the presence of a bundle with a matching id (i.e. the Bundle-SymbolicName in its MANIFEST.MF)

 

The plugin-package.xml is as follows

 

<?xml version="1.0" encoding="UTF-8"?>

<pluginPackage id="com.pkware.vtest" version="1.0.0" name="vtest" description="vtest" vendor="pkware">

   <dependencies>

      <!-- dependency on the current vSphere Client version is required -->

      <pluginPackage id="com.vmware.vsphere.client" version="5.1.0" />

   </dependencies>

   <bundlesOrder>

      <bundle id="com.pkware.vzip.java.vzipdbservice" />

      <bundle id="com.pkware.vzip.java.vzipdispatchservice" />

      <bundle id="com.pkware.vzip.flex.vzipui" />

   </bundlesOrder>

</pluginPackage>

 

The package contains a vzipdbservice.jar in the plugin folder. The MANIFEST.MF for that JAR is shown below.

 

Manifest-Version: 1.0

Bundle-ManifestVersion: 2

Bundle-Name: vzipdbservice

Bundle-SymbolicName: com.pkware.vzip.java.vzipdbservice

Bundle-Version: 1.0.0

Bundle-Vendor: pkware

Bundle-ClassPath: .,

lib/bcprov-jdc15on-149.jar,

lib/commons-codec-1.4.jar,

lib/jna-4.0.0.jar,

lib/jna-platform-4.0.0.jar,

lib/securezip-toolkit.jar,

lib/sqlite-jdbc-3.7.2.jar

Import-Package: org.apache.commons.logging

Export-Package: com.pkware.vzip.java.vzipdbservice


All of the names appear to match like they should based upon the documentation I've seen. Any help would be appreciated.


Viewing all articles
Browse latest Browse all 2218

Trending Articles



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