You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Eugene (JIRA)" <ji...@apache.org> on 2016/07/28 13:22:20 UTC

[jira] [Updated] (CXF-6982) Race condition when publishing jax-rs server endpoints

     [ https://issues.apache.org/jira/browse/CXF-6982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene updated CXF-6982:
------------------------
    Description: 
When using cxf inside OSGi container and when it starts I have very strange behavior (time to time).
The JaxRs server's that defined it blueprint xml publish concurrently via Blueprint Extenders (I find out that by default there is 3 thread of extenders).

It happens if one extender register the service and another extender unregister the same service.
In logs I see:
http://pastebin.com/n5A4YeTz

When it happens, services plays hide-and-seek indefinitely.

Aetos 3.0.2.2

  was:
When using cxf inside OSGi container and when it starts I have very strange behavior (time to time).
The JaxRs server's that defined it blueprint xml publish concurrently via Blueprint Extenders (I find out that by default there is 3 thread of extenders).

It happens if one extender register the service and another extender unregister the same service.
In logs I see:
https://jsfiddle.net/john39126/8wqsze63/4/embedded/result/

When it happens, services plays hide-and-seek indefinitely.

Aetos 3.0.2.2


> Race condition when publishing jax-rs server endpoints
> ------------------------------------------------------
>
>                 Key: CXF-6982
>                 URL: https://issues.apache.org/jira/browse/CXF-6982
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Eugene
>
> When using cxf inside OSGi container and when it starts I have very strange behavior (time to time).
> The JaxRs server's that defined it blueprint xml publish concurrently via Blueprint Extenders (I find out that by default there is 3 thread of extenders).
> It happens if one extender register the service and another extender unregister the same service.
> In logs I see:
> http://pastebin.com/n5A4YeTz
> When it happens, services plays hide-and-seek indefinitely.
> Aetos 3.0.2.2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)