ServiceMix won't boot when Felix 4.0.x is used
----------------------------------------------
Key: SMX4-1084
URL: https://issues.apache.org/jira/browse/SMX4-1084
Project: ServiceMix 4
Issue Type: Bug
Affects Versions: 4.4.1
Reporter: Jonathan Anstey
Assignee: Jonathan Anstey
Fix For: 4.5.0
If you swap out Felix 3.0.9 for a 4.0.x version ServiceMix won't boot up at
all. The following error occurs:
ERROR: Error parsing system bundle export statement:
org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0", ... ,
org.apache.xml.serialize; version="2.11.0",
(org.osgi.framework.BundleException: Exported package names cannot be zero
length.)
org.osgi.framework.BundleException: Exported package names cannot be zero
length.
at
org.apache.felix.framework.util.manifestparser.ManifestParser.normalizeExportClauses(ManifestParser.java:729)
at
org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:191)
at
org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:220)
at org.apache.felix.framework.Felix.<init>(Felix.java:391)
at
org.apache.felix.framework.FrameworkFactory.newFramework(FrameworkFactory.java:28)
at org.apache.karaf.main.Main.launch(Main.java:276)
at org.apache.karaf.main.Main.main(Main.java:480)
Committing a simple fix shortly. Of course, this isn't hurting any current
release but will need to be fixed in the future :)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira