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

Freeman Fang edited comment on SMX4-1598 at 11/6/13 9:55 AM:
-------------------------------------------------------------

Hi,

Just did a quick run of this issue.

It works as expected,  you need run
features:install examples-cxf-jaxrs 
per the README.txt
which install all necessary bundles for this example.

{code}
karaf@root> features:info examples-cxf-jaxrs-blueprint 
Description of examples-cxf-jaxrs-blueprint 4.5.3 feature
----------------------------------------------------------------
Feature has no configuration
Feature has no configuration files
Feature depends on:
  cxf 2.6.9
Feature contains followed bundles:
 mvn:org.springframework/spring-beans/3.0.7.RELEASE
 mvn:commons-codec/commons-codec/1.6
 
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient/3.1_7
 mvn:org.apache.servicemix.examples/cxf-jaxrs-blueprint/4.5.3
{code}

Btw,  for your question from mailling list
it's 
mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jsr311-api-1.1.1/2.2.0
which export javax.ws.rs package in SMX 4.5.3, it get installed when install 
cxf feature.
Freeman


was (Author: ffang):
Hi,

Just did a quick run of this issue.

It works as expected,  you need run
features:install examples-cxf-jaxrs 
per the README.txt
which install all necessary bundles for this example.

{code}
karaf@root> features:info examples-cxf-jaxrs-blueprint 
Description of examples-cxf-jaxrs-blueprint 4.5.3 feature
----------------------------------------------------------------
Feature has no configuration
Feature has no configuration files
Feature depends on:
  cxf 2.6.9
Feature contains followed bundles:
 mvn:org.springframework/spring-beans/3.0.7.RELEASE
 mvn:commons-codec/commons-codec/1.6
 
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient/3.1_7
 mvn:org.apache.servicemix.examples/cxf-jaxrs-blueprint/4.5.3
{code}

Freeman

> cxf-jaxrs-blueprint Example Deploy Error
> ----------------------------------------
>
>                 Key: SMX4-1598
>                 URL: https://issues.apache.org/jira/browse/SMX4-1598
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 4.5.3
>            Reporter: John Dubchak
>            Assignee: Freeman Fang
>            Priority: Minor
>
> To reproduce:
> $ cd examples/cxf-jaxrs-blueprint
> $ mvn install
> From SMX karaf console:
> karaf@root> osgi:install -s 
> file:///path/to/apache-servicemix-4.5.3/examples/cxf/cxf-jaxrs-blueprint/4.5.3.jar
> Bundle ID: 187
> karaf@root> osgi:start 187
> org.osgi.framework.BundleException: Unresolved constraint in bundle 
> cxf-jaxrs-blueprint [187]: Unable to resolve 187.0: missing requirement 
> [187.0] package; (&(package=org.apache.commons.httpclient)(version>=3.1.0))



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to