You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2016/08/02 11:49:20 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15403827#comment-15403827 ] 

Sergey Beryozkin commented on CXF-6982:
---------------------------------------

Hi, 
Can you explain please why the endpoint is being unregistered while it is in the process of being registered ?
Just wonder where the possible fix if any should go.

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