You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2012/07/06 14:01:35 UTC

[jira] [Created] (DOSGI-123) ZooKeeper registrations are not recreated on ZooKeeper server restart

David Bosschaert created DOSGI-123:
--------------------------------------

             Summary: ZooKeeper registrations are not recreated on ZooKeeper server restart
                 Key: DOSGI-123
                 URL: https://issues.apache.org/jira/browse/DOSGI-123
             Project: CXF Distributed OSGi
          Issue Type: Bug
          Components: Discovery
    Affects Versions: 1.3.1
            Reporter: David Bosschaert


Remote service registrations with ZooKeeper are lost when the ZooKeeper server dies. If the ZooKeeper server is restarted these registrations should be recreated.

To reproduce:
1. Start the zookeeper server
2. Register a remote client
3. Run a client to verify that it works
4. Stop the zookeeper server
5. Start the remote client again
6. Start the zookeeper server 
At this point the client is not notified of the remote service. Steps 5 and 6 can also be reversed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (DOSGI-123) ZooKeeper registrations are not recreated on ZooKeeper server restart

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DOSGI-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider reassigned DOSGI-123:
-----------------------------------------

    Assignee: Christian Schneider
    
> ZooKeeper registrations are not recreated on ZooKeeper server restart
> ---------------------------------------------------------------------
>
>                 Key: DOSGI-123
>                 URL: https://issues.apache.org/jira/browse/DOSGI-123
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Discovery
>    Affects Versions: 1.3.1
>            Reporter: David Bosschaert
>            Assignee: Christian Schneider
>
> Remote service registrations with ZooKeeper are lost when the ZooKeeper server dies. If the ZooKeeper server is restarted these registrations should be recreated.
> To reproduce:
> 1. Start the zookeeper server
> 2. Register a remote client
> 3. Run a client to verify that it works
> 4. Stop the zookeeper server
> 5. Start the remote client again
> 6. Start the zookeeper server 
> At this point the client is not notified of the remote service. Steps 5 and 6 can also be reversed.

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

[jira] [Resolved] (DOSGI-123) ZooKeeper registrations are not recreated on ZooKeeper server restart

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DOSGI-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved DOSGI-123.
---------------------------------------

    Resolution: Fixed

After my refactoring of discovery I found that restarting discovery or zookeeper was not really handled well. So I also fixed this issue in the refactoring issue.

Can you retest your scenario? Zookeeper restarts should be handled fine now.

1404989 02.11.2012 16:02:01, by cschneider
DOSGI-138 DOSGI-123 DOSGI-70 Refactoring of discovery, added reconnect and republishing after connection loss to zookeeper
M /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/Activator.java
D /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/DataMonitorListener.java
D /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/EndpointListenerFactory.java
D /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/EndpointListenerImpl.java
M /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/EndpointListenerTrackerCustomizer.java
D /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/InterfaceDataMonitorListenerImpl.java
M /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/InterfaceMonitor.java
A /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/InterfaceMonitorManager.java
A /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/PublishingEndpointListener.java
A /cxf/dosgi/trunk/discovery/distributed/cxf-discovery/src/main/java/org/apache/cxf/dosgi/discovery/zookeeper/PublishingEndpointListenerFactory.java
And 9 more 
                
> ZooKeeper registrations are not recreated on ZooKeeper server restart
> ---------------------------------------------------------------------
>
>                 Key: DOSGI-123
>                 URL: https://issues.apache.org/jira/browse/DOSGI-123
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Discovery
>    Affects Versions: 1.3.1
>            Reporter: David Bosschaert
>            Assignee: Christian Schneider
>             Fix For: 1.4
>
>
> Remote service registrations with ZooKeeper are lost when the ZooKeeper server dies. If the ZooKeeper server is restarted these registrations should be recreated.
> To reproduce:
> 1. Start the zookeeper server
> 2. Register a remote client
> 3. Run a client to verify that it works
> 4. Stop the zookeeper server
> 5. Start the remote client again
> 6. Start the zookeeper server 
> At this point the client is not notified of the remote service. Steps 5 and 6 can also be reversed.

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

[jira] [Updated] (DOSGI-123) ZooKeeper registrations are not recreated on ZooKeeper server restart

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DOSGI-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider updated DOSGI-123:
--------------------------------------

    Fix Version/s: 1.4
    
> ZooKeeper registrations are not recreated on ZooKeeper server restart
> ---------------------------------------------------------------------
>
>                 Key: DOSGI-123
>                 URL: https://issues.apache.org/jira/browse/DOSGI-123
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Discovery
>    Affects Versions: 1.3.1
>            Reporter: David Bosschaert
>            Assignee: Christian Schneider
>             Fix For: 1.4
>
>
> Remote service registrations with ZooKeeper are lost when the ZooKeeper server dies. If the ZooKeeper server is restarted these registrations should be recreated.
> To reproduce:
> 1. Start the zookeeper server
> 2. Register a remote client
> 3. Run a client to verify that it works
> 4. Stop the zookeeper server
> 5. Start the remote client again
> 6. Start the zookeeper server 
> At this point the client is not notified of the remote service. Steps 5 and 6 can also be reversed.

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

[jira] [Commented] (DOSGI-123) ZooKeeper registrations are not recreated on ZooKeeper server restart

Posted by "David Bosschaert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DOSGI-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489476#comment-13489476 ] 

David Bosschaert commented on DOSGI-123:
----------------------------------------

Excellent!
                
> ZooKeeper registrations are not recreated on ZooKeeper server restart
> ---------------------------------------------------------------------
>
>                 Key: DOSGI-123
>                 URL: https://issues.apache.org/jira/browse/DOSGI-123
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: Discovery
>    Affects Versions: 1.3.1
>            Reporter: David Bosschaert
>            Assignee: Christian Schneider
>             Fix For: 1.4
>
>
> Remote service registrations with ZooKeeper are lost when the ZooKeeper server dies. If the ZooKeeper server is restarted these registrations should be recreated.
> To reproduce:
> 1. Start the zookeeper server
> 2. Register a remote client
> 3. Run a client to verify that it works
> 4. Stop the zookeeper server
> 5. Start the remote client again
> 6. Start the zookeeper server 
> At this point the client is not notified of the remote service. Steps 5 and 6 can also be reversed.

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