Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.3.0
-
None
-
None
Description
By default, ServiceMix 4.3.0 uses Karaf 2.1.3. The default OSGi framework used is Apache Felix Framework 3.0.2.
We have two issues using Felix 3.0.2:
1/ NoClassDefFoundError: javax.xml.namespace.QName
The workaround is to add javax.xml.namespace in the Import-Package statement of the bundles (using CXF especially).
2/ IllegalStateException: zip file closed
It's a known Felix bug around refresh.
We don't have these issues using Equinox (adding karaf.framework=equinox in etc/custom.properties).
The update to Felix 3.0.8 looks to solve the issue (I perform some tests to validate that).