[ 
https://issues.apache.org/jira/browse/SMX4-764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999406#comment-12999406
 ] 

Jean-Baptiste Onofré commented on SMX4-764:
-------------------------------------------

Examples tests:
- features:install examples-cxf-osgi: OK
- features:install examples-cxf-jaxrs: OK
- features:install examples-cxf-nmr: already the same issue around 
NoClassDefFoundError: javax.xml.namespace.QName not found from bundle 
[cxf-nmr]. To be fixed in the example.
- features:install examples-camel-osgi: OK
- features:install examples-camel-blueprint: OK
- features:install examples-camel-nmr: it's stuck after Refreshing bundles 
org.apache.servicemix.document (81). Removing ServiceMix components in 
featuresBoot looks to fix but I got ClassNotFoundException: 
org.osgi.framework.ServiceRegistration not found by 
org.springframework.osgi.core [71] even if it works.
- features:install examples-camel-nmr-blueprint: error 
java.lang.ClassNotFoundException: 
org.apache.servicemix.nmr.api.service.ServiceHelper not found by 
org.apache.servicemix.jbi.runtime [94] and stuck. Removing the ServiceMix 
components fix the stuck issue.
- features:install examples-cxf-camel-nmr: same stuck issue. After removing the 
ServiceMix components, I got ERROR: Bundle org.apache.servicemix.nmr.osgi [85]: 
EventDispatcher: Error during dispatch. (java.lang.NoClassDefFoundError: 
org/apache/servicemix/executors/Executor)
java.lang.NoClassDefFoundError: org/apache/servicemix/executors/Executor ... 
ClassNotFoundException: org.osgi.framework.ServiceRegistration not found by 
org.springframework.osgi.core [71]
- features:install examples-cxf-ws-addressing: OK
- features:install examples-cxf-wsdl-first-osgi-package: OK
- features:install examples-cxf-ws-security-osgi: NoClassDefFoundError: 
javax.xml.namespace.QName not found from bundle [cxf-ws-security-osgi]
- features:install examples-cxf-ws-rm: OK
- features:install examples-nmr: OK
- features:install examples-ode-helloworld: OK
- features:install examples-ode-ping-pong: OK

I'm gonna make new tests using Felix framework 3.0.9.

> Override Apache Felix Framework to 3.0.8 version
> ------------------------------------------------
>
>                 Key: SMX4-764
>                 URL: https://issues.apache.org/jira/browse/SMX4-764
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.3.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.3.0
>
>
> 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).

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to