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

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

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


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.


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

Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie Goodyear updated SMX4-443:
--------------------------------

    Attachment: jmg-features-cxf-jaxrs.patch

Patch file regenerated on a Unix system to make viewing diff easier.

Includes a one line change to remove bundle dependency on org.apache.servicemix.specs/org.apache.servicemix.specs.jsr311-api-${jaxrs.api.version}.

> 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.


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

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn resolved SMX4-443.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 4.0-m1)
                   4.1.0

Patch [comitted|http://svn.apache.org/viewvc?rev=888343&view=rev] with thanks to Sergey Beryozkin

> 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
>            Assignee: Eoghan Glynn
>            Priority: Critical
>             Fix For: 4.1.0
>
>         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.


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

Posted by "Jamie Goodyear (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56315#action_56315 ] 

Sergey Beryozkin commented on SMX4-443:
---------------------------------------

Hi Jamie, looks like it's just a bug in a pax web extender. 

The cxf bundle is being refreshed as a result of cxf jaxrs feature being installed, possibly because the cxf bundle has an optional jettison dependency and the cxf jaxrs feature installs a jettison bundle. So this is probably expected.

But pax web extender can't cope with it well, I did see a similar Concurrent exception on the shutdown awhile back, and it was not even a cxf jaxrs demo which was involved....

 

> 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
>            Assignee: Eoghan Glynn
>            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.


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

Posted by "Eoghan Glynn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eoghan Glynn reassigned SMX4-443:
---------------------------------

    Assignee: Eoghan Glynn

> 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
>            Assignee: Eoghan Glynn
>            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.


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

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin updated SMX4-443:
----------------------------------

    Attachment: features-cxf-jaxrs.patch

The patch is created on Windows so perhaps it might be simpler to have this extra dependency removed manually

> 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
>
>
> 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.


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

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56320#action_56320 ] 

Sergey Beryozkin commented on SMX4-443:
---------------------------------------

Juts FYI : http://issues.ops4j.org/browse/PAXWEB-185

> 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
>            Assignee: Eoghan Glynn
>            Priority: Critical
>             Fix For: 4.1.0
>
>         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.