[
https://issues.apache.org/jira/browse/SMX4-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584227#comment-13584227
]
Bart Horré commented on SMX4-1150:
----------------------------------
I did the same on my machine, still Ubuntu 12.04 with the openjdk
and it resulted in the following output:
{noformat}
karaf@root> features:install examples-cxf-jaxrs
Refreshing bundles org.springframework.web (121)
*ERROR* Configuration for org.ops4j.pax.web has already been used for service
[org.osgi.service.cm.ManagedService, id=253, bundle=118] and will now also be
given to [org.osgi.service.cm.ManagedService, id=320, bundle=118]
{noformat}
however the bundle installed and the example seems to work just fine
{noformat}
[ 180] [Active ] [ ] [Started] [ 80] Apache ServiceMix ::
Features :: Examples :: CXF JAX-RS OSGI (4.5.0)
{noformat}
> Unable to install examples-cxf-jaxrs feature
> --------------------------------------------
>
> Key: SMX4-1150
> URL: https://issues.apache.org/jira/browse/SMX4-1150
> Project: ServiceMix 4
> Issue Type: Bug
> Components: Examples
> Affects Versions: 4.4.2
> Environment: Ubuntu 12.04 LTS
> Reporter: Gert Vanthienen
> Fix For: 4.6.0
>
> Attachments: servicemix.log
>
>
> On the 4.4.2 release vote thread, Bart Horré mentioned bumping into this
> problem when installing the {{examples-cxf-jaxrs}} feature:
> {noformat}
> features:install examples-cxf-jaxrs
> Refreshing bundles org.springframework.web (114)
> *ERROR* Configuration for org.ops4j.pax.web has already been used for
> service [org.osgi.service.cm.ManagedService, id=242, bundle=113] and will
> now also be given to [org.osgi.service.cm.ManagedService, id=285,
> bundle=113]
> {noformat}
> On my own machine however, the same example installs fine so it may be
> environment related (e.g. his Ubuntu 12.04 LTS is probably using OpenJDK)
> {noformat}
> karaf@root> features:install examples-cxf-jaxrs
> Refreshing bundles org.springframework.web (114)
> {noformat}
--
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