cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DOSGI-63) The discovery can be used be used before the connection to the server is completely established
Date Mon, 19 Nov 2012 08:54:57 GMT

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

Christian Schneider resolved DOSGI-63.
--------------------------------------

    Resolution: Fixed

I have changed the startup to only really start the discovery once the connection to zookeeper
is really established. So this should work now.
                
> The discovery can be used be used before the connection to the server is completely established
> -----------------------------------------------------------------------------------------------
>
>                 Key: DOSGI-63
>                 URL: https://issues.apache.org/jira/browse/DOSGI-63
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Discovery
>    Affects Versions: 1.2
>            Reporter: Marc Schaaf
>            Assignee: Christian Schneider
>             Fix For: 1.4
>
>         Attachments: connection_establish_timeout.patch
>
>
> The Zookeeper Discovery is configured via the Configuration Admin and is automatically
started once it receives the first configuration. At the same time as  the connection is established,
the discovery registers the EndpointListener Service and the EndpointListener ServiceTracker.
Under some circumstances this causes immediate calls to the discovery. However as the connection
attempt is made asynchronously to the other startup, the discovery calls can occur before
the connection to the Zookeeper server was established which causes them to fail. 
> An approach to solve this issue would be to wait with the registration of the EndpointListener
Service and the Service Tracker until the connection could be established. Furthermore they
should be unregistered once the connection to the server is lost. And registered once it is
reestablished.

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

Mime
View raw message