You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/07/25 16:36:20 UTC

[jira] [Commented] (KARAF-4547) Embed resolver in features.core to avoid errors in bundle resolution when installing CXF as boot feature

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

ASF subversion and git services commented on KARAF-4547:
--------------------------------------------------------

Commit 7053b0cd09daf2bea813f9479a47184133ab9efb in karaf's branch refs/heads/master from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=7053b0c ]

[KARAF-4547] Use a correct logger for the resolver so that it delegates to pax-logging instead of writing to stdout

> Embed resolver in features.core to avoid errors in bundle resolution when installing CXF as boot feature
> --------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-4547
>                 URL: https://issues.apache.org/jira/browse/KARAF-4547
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.5
>         Environment: Framework switched to Equinox
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 4.1.0, 4.0.6
>
>
> To reproduce:
> - download and unpack karaf 4.0.5
> - Add CXF 3.1.5 to the boot features like below
> - Switch framework to equinox
> Start karaf using bin/karaf
> 2016-06-02 11:59:05,644 | ERROR | 0bd-8aec27f84fc4 | cxf-core                         | 67 - org.apache.cxf.cxf-core - 3.1.5 | FrameworkEvent ERROR - org.apache.cxf.cxf-core
> org.osgi.framework.BundleException: Could not resolve module: org.apache.cxf.cxf-core [67]
> ...
>   Unresolved requirement: Import-Package: org.apache.ws.commons.schema; version="[2.2.0,3.0.0)"
>   Unresolved requirement: Import-Package: javax.annotation; version="[0.0.0,2.0.0)"
> See this for the full log:
> http://apaste.info/QD8
> If the error does not occur stop karaf, delete data dir and start karaf again some times.
> This bug was originally reported by our Talend ESB team. I have attached the link to the issue.
> The issue seems to happen on windows and linux but only on equinox. On felix it works fine.
> I assume that this might be releated to the felix resolver. Equinox contains an older version of the resolver.
> ----
> featuresRepositories = \
>     mvn:org.apache.karaf.features/spring/4.0.5/xml/features, \
>     mvn:org.apache.karaf.features/standard/4.0.5/xml/features, \
>     mvn:org.apache.karaf.features/framework/4.0.5/xml/features, \
>     mvn:org.apache.karaf.features/enterprise/4.0.5/xml/features, \
>     mvn:org.apache.cxf.karaf/apache-cxf/3.1.5/xml/features
> featuresBoot = \
>     (instance, \
>     package, \
>     log, \
>     ssh, \
>     aries-blueprint, \
>     framework, \
>     system, \
>     feature, \
>     shell, \
>     management, \
>     service, \
>     jaas, \
>     shell-compat, \
>     deployer, \
>     diagnostic, \
>     wrap, \
>     bundle, \
>     config, \
>     kar), \
> 	spring-dm, \
>     cxf-abdera, \
>     cxf, \
>     cxf-commands



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)