You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jamie Goodyear (JIRA)" <ji...@apache.org> on 2009/12/07 21:43:52 UTC

[jira] Commented: (SMX4-443) CXF JAX-RS feature lists a duplicate JAX-RS 1.0 specs bundle dependency

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

Jamie Goodyear commented on SMX4-443:
-------------------------------------

Applying the patch locally I see the following upon install:

{code}
karaf@root> features:install examples-cxf-jaxrs
Refreshing bundles org.apache.cxf.bundle (137)
ERROR: EventDispatcher: Error during dispatch. (java.util.ConcurrentModificationException)
java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
        at java.util.HashMap$EntryIterator.next(HashMap.java:834)
        at java.util.HashMap$EntryIterator.next(HashMap.java:832)
        at org.ops4j.pax.web.extender.whiteboard.internal.ExtenderContext.bundleStopped(ExtenderContext.java:163)
        at org.ops4j.pax.web.extender.whiteboard.internal.ExtenderContext.bundleChanged(ExtenderContext.java:151)
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800)
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
        at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:956)
        at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
        at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
        at java.lang.Thread.run(Thread.java:619)
{code}

At shutdown I see the following:

{code}
karaf@root> shutdown
karaf@root> ERROR: EventDispatcher: Error during dispatch. (java.util.ConcurrentModificationException)
java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
        at java.util.HashMap$EntryIterator.next(HashMap.java:834)
        at java.util.HashMap$EntryIterator.next(HashMap.java:832)
        at org.ops4j.pax.web.extender.whiteboard.internal.ExtenderContext.bundleStopped(ExtenderContext.java:163)
        at org.ops4j.pax.web.extender.whiteboard.internal.ExtenderContext.bundleChanged(ExtenderContext.java:151)
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800)
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
        at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:956)
        at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
        at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
        at java.lang.Thread.run(Thread.java:619)
{code}

I'm going to have to look deeper into what is happening on my system here (Ubuntu 8.04, Java 64 bit 1.6.0_17-b04).


> CXF JAX-RS feature lists a duplicate JAX-RS 1.0 specs bundle dependency
> -----------------------------------------------------------------------
>
>                 Key: SMX4-443
>                 URL: https://issues.apache.org/activemq/browse/SMX4-443
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Sergey Beryozkin
>            Priority: Critical
>             Fix For: 4.0-m1
>
>         Attachments: features-cxf-jaxrs.patch, jmg-features-cxf-jaxrs.patch
>
>
> CXF JAXRS feature lists a JAX-RS 1.0 specs dependency. It also indirectly depends on the CXF feature which also lists a JAX-RS 1.0 specs dependency.
> Thus CXF JAXRS feature needs to have this dependency removed. Alternatively, CXF feature may need to be updated to have the JAXRS 1.0 specs dependency removed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.