AnsweredAssumed Answered

OSGI manifest issue on Eclipse Virgo

Question asked by patrick1 on Aug 16, 2012
Hi,

I tried to deploy Activiti Engine on Eclipse Virgo 3.5 and run into OSGI manifest issue. I had to change the Import-Package from

org.activiti.osgi*;resolution:=optional

to

org.activiti.osgi;resolution:=optional
org.activiti.osgi.blueprint;resolution:=optional

to get Virgo resolve and activate the bundle.

The manifest parser of Virgo is very strict and is throwing following error:


HP014E:[col 368]: Expected a semicolon or comma but found '*'

   at org.eclipse.virgo.util.osgi.manifest.parse.standard.StandardHeaderParser.parsePackageHeader(StandardHeaderParser.java:112)
   at org.eclipse.virgo.util.osgi.manifest.internal.StandardImportPackage.parse(StandardImportPackage.java:55)
   at org.eclipse.virgo.util.osgi.manifest.internal.CompoundParseable.resetFromParseString(CompoundParseable.java:53)
   at org.eclipse.virgo.util.osgi.manifest.internal.StandardImportPackage.resetFromParseString(StandardImportPackage.java:1)
   at org.eclipse.virgo.util.osgi.manifest.internal.StandardBundleManifest.initializeHeaders(StandardBundleManifest.java:118)
   at org.eclipse.virgo.util.osgi.manifest.internal.StandardBundleManifest.<init>(StandardBundleManifest.java:73)
   at org.eclipse.virgo.util.osgi.manifest.internal.StandardBundleManifest.<init>(StandardBundleManifest.java:95)
   at org.eclipse.virgo.util.osgi.manifest.internal.StandardBundleManifest.<init>(StandardBundleManifest.java:91)
   at org.eclipse.virgo.util.osgi.manifest.BundleManifestFactory.createBundleManifest(BundleManifestFactory.java:91)
   at org.eclipse.virgo.util.osgi.manifest.BundleManifestFactory.createBundleManifest(BundleManifestFactory.java:102)
   at org.eclipse.virgo.kernel.artifact.internal.BundleManifestUtils.readBundleManifest(BundleManifestUtils.java:71)
   at org.eclipse.virgo.kernel.artifact.bundle.BundleBridge.generateArtifactDescriptor(BundleBridge.java:75)
   … 58 common frames omitted

Outcomes