Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3038

WS in child containers aren't recognized by ZK sometimes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2
    • jboss-fuse-6.2
    • Fabric8 v1
    • None
    • % %
    • Hide

      1. create fabric

      JBossFuse:karaf@root> fabric:create --wait-for-provisioning
      JBossFuse:karaf@root> profile-edit --feature fabric-zookeeper-commands jboss-fuse-full

      2. create child containers with webservices:

      JBossFuse:karaf@root> container-create-child --profile quickstarts-cxf-rest root quickstart
      JBossFuse:karaf@root> container-create-child --profile quickstarts-cxf-soap root quickstart2
      

      3. check if service is deployed successfully:

      JBossFuse:karaf@root> container-connect quickstart cxf:list-endpoints 
      Connected
      Name                      State      Address                                                      BusID                                   
      [CustomerService        ] [Started ] [/crm                                                      ] [io.fabric8.quickstarts.cxf-rest-cxf1614397827]
      
      

      4. check zk record:

      JBossFuse:karaf@root> zk:list /fabric/registry/clusters/apis/rest
      FabricResource
      
      
      Show
      1. create fabric JBossFuse:karaf@root> fabric:create --wait- for -provisioning JBossFuse:karaf@root> profile-edit --feature fabric-zookeeper-commands jboss-fuse-full 2. create child containers with webservices: JBossFuse:karaf@root> container-create-child --profile quickstarts-cxf- rest root quickstart JBossFuse:karaf@root> container-create-child --profile quickstarts-cxf-soap root quickstart2 3. check if service is deployed successfully: JBossFuse:karaf@root> container-connect quickstart cxf:list-endpoints Connected Name State Address BusID [CustomerService ] [Started ] [/crm ] [io.fabric8.quickstarts.cxf- rest -cxf1614397827] 4. check zk record: JBossFuse:karaf@root> zk:list /fabric/registry/clusters/apis/ rest FabricResource

      WS in child containers aren't recognized by ZK sometimes.
      After restarting affected child-container ZK successfully recognizes the WS.

      JBossFuse:karaf@root> zk:list /fabric/registry/clusters/apis/rest
      FabricResource
      CustomerService
      
      

              pantinor@redhat.com Paolo Antinori
              mmelko@redhat.com Matej Melko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: