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

Daniel Kulp commented on CXF-5019:
----------------------------------

Can you confirm that you have replaces the etc/jre.properties with the 
etc/jre.properties.cxf?   That is is required for it to work on Karaf 2.2.x.

                
> Features XML does not load up correctly
> ---------------------------------------
>
>                 Key: CXF-5019
>                 URL: https://issues.apache.org/jira/browse/CXF-5019
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.7.5
>         Environment: Karaf 2.2.11
>            Reporter: Archimedes Trajano
>
> When adding 2.7.5 features.xml on a clean Karaf installation and installing 
> it will yield the following error.
> karaf@root> features:addUrl 
> mvn:org.apache.cxf.karaf/apache-cxf/2.7.5/xml/featur
> es
> karaf@root> features:install cxf
> Error executing command: Could not start bundle 
> mvn:org.apache.cxf/cxf-api/2.7.5
>  in feature(s) cxf-core-2.7.5: Uses constraint violation. Unable to resolve 
> modu
> le org.apache.cxf.cxf-api [81.0] because it is exposed to package 
> 'javax.activat
> ion' from modules org.apache.servicemix.specs.activation-api-1.1 [88.0] and 
> org.
> apache.felix.framework [0] via two dependency chains.
> Chain 1:
>   org.apache.cxf.cxf-api [81.0]
>     import: (&(package=javax.activation)(version>=0.0.0)(!(version>=2.0.0)))
>      |
>     export: package=javax.activation
>   org.apache.servicemix.specs.activation-api-1.1 [88.0]
> Chain 2:
>   org.apache.cxf.cxf-api [81.0]
>     import: 
> (&(package=javax.mail.internet)(version>=1.4.0)(!(version>=2.0.0)))
>      |
>     export: package=javax.mail.internet; uses:=com.sun.mail.util
>   javax.mail [72.0]
>     import: (&(package=com.sun.mail.util)(version>=1.4.0))
>      |
>     export: package=com.sun.mail.util; uses:=javax.mail
>   javax.mail [90.0]
>     import: (&(package=javax.mail)(version>=1.4.0))
>      |
>     export: package=javax.mail; uses:=javax.activation
>   javax.mail [72.0]
>     import: (package=javax.activation)
>      |
>     export: package=javax.activation
>   org.apache.felix.framework [0]
> karaf@root>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to