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

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

Adding camel-nmr and cxf-nmr in the featuresBoot (just before the ServiceMix 
Components) doesn't fix the issue.
For instance, I'm still stuck on org.apache.servicemix.document refresh and get:

karaf@root> features:install examples-camel-nmr
Refreshing bundles org.apache.servicemix.document (81)
Exception in thread "pool-component.servicemix-wsn2005.consumer-thread-3" 
java.lang.NoClassDefFoundError: 
org/apache/servicemix/nmr/api/service/ServiceHelper
        at 
org.apache.servicemix.jbi.runtime.impl.ComponentContextImpl.deactivateEndpoint(ComponentContextImpl.java:129)
        at 
org.apache.servicemix.common.endpoints.ProviderEndpoint.deactivate(ProviderEndpoint.java:69)
        at 
org.apache.servicemix.common.DefaultServiceUnit.removeEndpoint(DefaultServiceUnit.java:206)
        at 
org.apache.servicemix.common.DefaultComponent.removeEndpoint(DefaultComponent.java:301)
        at 
org.apache.servicemix.wsn.component.WSNComponent$WSNEndpointManager$1.run(WSNComponent.java:283)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.nmr.api.service.ServiceHelper not found by 
org.apache.servicemix.jbi.runtime [94]
        at 
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
        at 
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 8 more

I'm testing the others examples and digging around.

> 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