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

Standalone Broker is shut down when Fabric is shut down / unaccessible

    XMLWordPrintable

Details

    • % %
    • Hide

      Step-1). Started fuse 6.1.0 using "bin/fuse" script
      Step-2). In the terminal executed the following command to create fabric:

      JBossFuse:karaf@root> fabric:create
      

      Step-3). Logged in to the hawtio console. http://localhost:8181/hawtio/index.html
      Step-4). Created a broker:
      Runtime (tab) --> MQ (sub tab) --> + Broker (button)
      Group : testbroker
      Broker name: testbroker
      Kind : standalone
      Then clicked on the "Create Broker" button.
      Step-5). Create a container for the broker:
      Runtime (tab) --> MQ (sub tab)
      You will see red exclamation mark inside the test broker, click it, now you are on the "Create new container page"
      Choose contaner name, for example "testbrokercontainer"
      Click "Create and start container"
      Step-6). Tail the log of the created "testbrokercontainer" container and see the message
      Broker testbroker has started
      Step-7). Shut down the root container and see the messages in the log of the "testbrokercontainer"
      Lost zookeeper service for broker testbroker, stopping the broker.

      2015-01-21 09:58:49,708 | INFO  | pool-20-thread-1 | ActiveMQServiceFactory           | q.fabric.ActiveMQServiceFactory$   64 | 114 - org.jboss.amq.mq-fabric - 6.1.0.redhat-379 | Lost zookeeper service for broker testbroker, stopping the broker.
      2015-01-21 09:58:49,710 | INFO  | pool-32-thread-1 | BrokerService                    | he.activemq.broker.BrokerService  741 | 96 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Apache ActiveMQ 5.9.0.redhat-610379 (testbroker, ID:localhost-43971-1421814489559-0:1) is shutting down
      .
      .
      2015-01-21 09:58:50,042 | INFO  | pool-32-thread-1 | BrokerService                    | he.activemq.broker.BrokerService  802 | 96 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Apache ActiveMQ 5.9.0.redhat-610379 (testbroker, ID:localhost-43971-1421814489559-0:1) uptime 40.598 seconds
      2015-01-21 09:58:50,042 | INFO  | pool-32-thread-1 | BrokerService                    | he.activemq.broker.BrokerService  804 | 96 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Apache ActiveMQ 5.9.0.redhat-610379 (testbroker, ID:localhost-43971-1421814489559-0:1) is shutdown
      
      Show
      Step-1). Started fuse 6.1.0 using "bin/fuse" script Step-2). In the terminal executed the following command to create fabric: JBossFuse:karaf@root> fabric:create Step-3). Logged in to the hawtio console. http://localhost:8181/hawtio/index.html Step-4). Created a broker: Runtime (tab) --> MQ (sub tab) --> + Broker (button) Group : testbroker Broker name: testbroker Kind : standalone Then clicked on the "Create Broker" button. Step-5). Create a container for the broker: Runtime (tab) --> MQ (sub tab) You will see red exclamation mark inside the test broker, click it, now you are on the "Create new container page" Choose contaner name, for example "testbrokercontainer" Click "Create and start container" Step-6). Tail the log of the created "testbrokercontainer" container and see the message Broker testbroker has started Step-7). Shut down the root container and see the messages in the log of the "testbrokercontainer" Lost zookeeper service for broker testbroker, stopping the broker. 2015-01-21 09:58:49,708 | INFO | pool-20-thread-1 | ActiveMQServiceFactory | q.fabric.ActiveMQServiceFactory$ 64 | 114 - org.jboss.amq.mq-fabric - 6.1.0.redhat-379 | Lost zookeeper service for broker testbroker, stopping the broker. 2015-01-21 09:58:49,710 | INFO | pool-32-thread-1 | BrokerService | he.activemq.broker.BrokerService 741 | 96 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Apache ActiveMQ 5.9.0.redhat-610379 (testbroker, ID:localhost-43971-1421814489559-0:1) is shutting down . . 2015-01-21 09:58:50,042 | INFO | pool-32-thread-1 | BrokerService | he.activemq.broker.BrokerService 802 | 96 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Apache ActiveMQ 5.9.0.redhat-610379 (testbroker, ID:localhost-43971-1421814489559-0:1) uptime 40.598 seconds 2015-01-21 09:58:50,042 | INFO | pool-32-thread-1 | BrokerService | he.activemq.broker.BrokerService 804 | 96 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Apache ActiveMQ 5.9.0.redhat-610379 (testbroker, ID:localhost-43971-1421814489559-0:1) is shutdown

    Description

      • If a container "TestContainer1" which includes a standalone MQ broker, is created using JBoss Fuse Management Console, it works, But if "root" container is shut down or not accessible, broker shuts itself down but the container still remains alive.
      INFO  | pool-40-thread-1 | ActiveMQServiceFactory           | q.fabric.ActiveMQServiceFactory$   64 | 120 - org.jboss.amq.mq-fabric - 6.1.0.redhat-379 | Lost zookeeper service for broker TestContainer1, stopping the broker.
      

      Attachments

        1. karaf.log
          163 kB
        2. karaf.log
          213 kB

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            jaysensharma Jay SenSharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: