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

mq-create command with --create-container does not start broker

XMLWordPrintable

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

      When trying to create broker and container using mq-create command:

      mq-create --create-container broker1 --replicas 1 --group mqbroker1 mqbroker1
      

      then container is created but broker does not starts. Logfile does not contains any statement about starting broker. But mq bundles are active:

      container-connect broker1 list | grep -i mq 
      [  92] [Active     ] [Created     ] [       ] [   80] activemq-karaf (5.11.0.redhat-620100)
      [  96] [Resolved   ] [            ] [       ] [   80] Fabric8 :: MQ :: Discovery (1.2.0.redhat-100), Hosts: 104
      [  97] [Active     ] [            ] [       ] [   80] Fabric8 :: MQ :: Fabric (1.2.0.redhat-100)
      [  98] [Active     ] [            ] [       ] [   80] Fabric8 :: MQ :: Fabric HTTP Discovery (1.2.0.redhat-100)
      [ 104] [Active     ] [Created     ] [       ] [   80] activemq-osgi (5.11.0.redhat-620100), Fragments: 96  
      

      When spliting this process into two commands:

      container-create-child root broker2
      mq-create --assign-container broker2 --group mqbroker2 mqbroker2
      

      then everything works

            Unassigned Unassigned
            knetl.j@gmail.com Jakub Knetl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: